mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Merge pull request #267 from hedyhli/master
[gemini] Use paragraph tags on gemtext empty lines
This commit is contained in:
commit
e781466cde
@ -152,6 +152,10 @@ render_gemini_document(struct cache_entry *cached, struct document *document,
|
||||
if (buffer->source[i] == 13 || buffer->source[i] == 10) break;
|
||||
}
|
||||
|
||||
if (begin == i) {
|
||||
add_to_string(&html, "</p><p>");
|
||||
}
|
||||
|
||||
if (begin < i) {
|
||||
int len = i - begin;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user