Fossil SCM
The <verbatim type="pikchr"> markup of Fossil wiki now always puts the resulting image in a separate block, not allowing it to be in-line.
Commit
a0ef47e79fec07f85abfda72e36ced4a0b402dad810f89043709168d8ca07b00
Parent
2777682b632030d…
1 file changed
+2
+2
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1405,11 +1405,13 @@ | ||
| 1405 | 1405 | ** i plus the number of bytes in the </verbatim>. Generate the reply. |
| 1406 | 1406 | */ |
| 1407 | 1407 | assert( strncmp(zClass,"pikchr",6)==0 ); |
| 1408 | 1408 | zClass += 6; |
| 1409 | 1409 | while( fossil_isspace(zClass[0]) ) zClass++; |
| 1410 | + blob_append(p->pOut, "<p>", 3); | |
| 1410 | 1411 | pikchr_to_html(p->pOut, z, i, zClass, (int)strlen(zClass)); |
| 1412 | + blob_append(p->pOut, "</p>\n", 5); | |
| 1411 | 1413 | return iRet; |
| 1412 | 1414 | } |
| 1413 | 1415 | |
| 1414 | 1416 | /* |
| 1415 | 1417 | ** Return the MUTYPE for the top of the stack. |
| 1416 | 1418 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1405,11 +1405,13 @@ | |
| 1405 | ** i plus the number of bytes in the </verbatim>. Generate the reply. |
| 1406 | */ |
| 1407 | assert( strncmp(zClass,"pikchr",6)==0 ); |
| 1408 | zClass += 6; |
| 1409 | while( fossil_isspace(zClass[0]) ) zClass++; |
| 1410 | pikchr_to_html(p->pOut, z, i, zClass, (int)strlen(zClass)); |
| 1411 | return iRet; |
| 1412 | } |
| 1413 | |
| 1414 | /* |
| 1415 | ** Return the MUTYPE for the top of the stack. |
| 1416 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1405,11 +1405,13 @@ | |
| 1405 | ** i plus the number of bytes in the </verbatim>. Generate the reply. |
| 1406 | */ |
| 1407 | assert( strncmp(zClass,"pikchr",6)==0 ); |
| 1408 | zClass += 6; |
| 1409 | while( fossil_isspace(zClass[0]) ) zClass++; |
| 1410 | blob_append(p->pOut, "<p>", 3); |
| 1411 | pikchr_to_html(p->pOut, z, i, zClass, (int)strlen(zClass)); |
| 1412 | blob_append(p->pOut, "</p>\n", 5); |
| 1413 | return iRet; |
| 1414 | } |
| 1415 | |
| 1416 | /* |
| 1417 | ** Return the MUTYPE for the top of the stack. |
| 1418 |