Fossil SCM
Quick fix to many of the formatting problems associated with the recent attempts at making the Markdown output "safer". More work to be done, but this check-in will at least get most of the website working again. I hope.
Commit
c2875cb444676c9d5c40e6e7e723312ea8f86f655c08cdbdcb35426cfd7118bf
Parent
bd2796b10a41f79…
1 file changed
+1
-2
+1
-2
| --- src/markdown_html.c | ||
| +++ src/markdown_html.c | ||
| @@ -299,12 +299,11 @@ | ||
| 299 | 299 | |
| 300 | 300 | |
| 301 | 301 | /* HTML span tags */ |
| 302 | 302 | |
| 303 | 303 | static int html_raw_span(struct Blob *ob, struct Blob *text, void *opaque){ |
| 304 | - /* If the document begins with a <h1> markup, take that as the header. */ | |
| 305 | - BLOB_APPEND_BLOB(ob, text); | |
| 304 | + blob_append(ob, blob_buffer(text), blob_size(text)); | |
| 306 | 305 | return 1; |
| 307 | 306 | } |
| 308 | 307 | |
| 309 | 308 | static int html_autolink( |
| 310 | 309 | struct Blob *ob, |
| 311 | 310 |
| --- src/markdown_html.c | |
| +++ src/markdown_html.c | |
| @@ -299,12 +299,11 @@ | |
| 299 | |
| 300 | |
| 301 | /* HTML span tags */ |
| 302 | |
| 303 | static int html_raw_span(struct Blob *ob, struct Blob *text, void *opaque){ |
| 304 | /* If the document begins with a <h1> markup, take that as the header. */ |
| 305 | BLOB_APPEND_BLOB(ob, text); |
| 306 | return 1; |
| 307 | } |
| 308 | |
| 309 | static int html_autolink( |
| 310 | struct Blob *ob, |
| 311 |
| --- src/markdown_html.c | |
| +++ src/markdown_html.c | |
| @@ -299,12 +299,11 @@ | |
| 299 | |
| 300 | |
| 301 | /* HTML span tags */ |
| 302 | |
| 303 | static int html_raw_span(struct Blob *ob, struct Blob *text, void *opaque){ |
| 304 | blob_append(ob, blob_buffer(text), blob_size(text)); |
| 305 | return 1; |
| 306 | } |
| 307 | |
| 308 | static int html_autolink( |
| 309 | struct Blob *ob, |
| 310 |