Fossil SCM
Fixed a semantic constant misuse in the wiki renderer discovered while doing the prior commit. No functional change, but it straightens out a mask-vs-attribute ID cross-up.
Commit
f1c08fdff1841bba7679e354cc13654f20bb90ac1ded58c206ac316bb8070c97
Parent
c799e2e5048e290…
1 file changed
+1
-1
+1
-1
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1790,11 +1790,11 @@ | ||
| 1790 | 1790 | |
| 1791 | 1791 | /* Convert <title> to <h1 align='center'> */ |
| 1792 | 1792 | if( markup.iCode==MARKUP_TITLE && !p->inVerbatim ){ |
| 1793 | 1793 | markup.iCode = MARKUP_H1; |
| 1794 | 1794 | markup.nAttr = 1; |
| 1795 | - markup.aAttr[0].iACode = AMSK_ALIGN; | |
| 1795 | + markup.aAttr[0].iACode = ATTR_ALIGN; | |
| 1796 | 1796 | markup.aAttr[0].zValue = "center"; |
| 1797 | 1797 | markup.aAttr[0].cTerm = 0; |
| 1798 | 1798 | } |
| 1799 | 1799 | |
| 1800 | 1800 | /* Markup of the form </div id=ID> where there is a matching |
| 1801 | 1801 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1790,11 +1790,11 @@ | |
| 1790 | |
| 1791 | /* Convert <title> to <h1 align='center'> */ |
| 1792 | if( markup.iCode==MARKUP_TITLE && !p->inVerbatim ){ |
| 1793 | markup.iCode = MARKUP_H1; |
| 1794 | markup.nAttr = 1; |
| 1795 | markup.aAttr[0].iACode = AMSK_ALIGN; |
| 1796 | markup.aAttr[0].zValue = "center"; |
| 1797 | markup.aAttr[0].cTerm = 0; |
| 1798 | } |
| 1799 | |
| 1800 | /* Markup of the form </div id=ID> where there is a matching |
| 1801 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1790,11 +1790,11 @@ | |
| 1790 | |
| 1791 | /* Convert <title> to <h1 align='center'> */ |
| 1792 | if( markup.iCode==MARKUP_TITLE && !p->inVerbatim ){ |
| 1793 | markup.iCode = MARKUP_H1; |
| 1794 | markup.nAttr = 1; |
| 1795 | markup.aAttr[0].iACode = ATTR_ALIGN; |
| 1796 | markup.aAttr[0].zValue = "center"; |
| 1797 | markup.aAttr[0].cTerm = 0; |
| 1798 | } |
| 1799 | |
| 1800 | /* Markup of the form </div id=ID> where there is a matching |
| 1801 |