Fossil SCM
Backed out a part of the previous HTML5 element tag due to potential misinteractions with the parser.
Commit
016334c45cfeea3e9e5d7b58611eb5e1ead9ae2d
Parent
93dffb914729d3e…
1 file changed
+1
-8
+1
-8
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1890,18 +1890,11 @@ | ||
| 1890 | 1890 | popStackToTag(&renderer, markup.iCode); |
| 1891 | 1891 | }else |
| 1892 | 1892 | |
| 1893 | 1893 | /* Push <div> markup onto the stack together with the id=ID attribute. |
| 1894 | 1894 | */ |
| 1895 | - if( markup.iCode==MARKUP_DIV | |
| 1896 | - || markup.iCode==MARKUP_HTML5_ARTICLE | |
| 1897 | - || markup.iCode==MARKUP_HTML5_ASIDE | |
| 1898 | - || markup.iCode==MARKUP_HTML5_FOOTER | |
| 1899 | - || markup.iCode==MARKUP_HTML5_HEADER | |
| 1900 | - || markup.iCode==MARKUP_HTML5_NAV | |
| 1901 | - || markup.iCode==MARKUP_HTML5_SECTION | |
| 1902 | - ){ | |
| 1895 | + if( markup.iCode==MARKUP_DIV ){ | |
| 1903 | 1896 | pushStackWithId(&renderer, markup.iCode, markupId(&markup), |
| 1904 | 1897 | (renderer.state & ALLOW_WIKI)!=0); |
| 1905 | 1898 | }else |
| 1906 | 1899 | |
| 1907 | 1900 | /* Enter <verbatim> processing. With verbatim enabled, all other |
| 1908 | 1901 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1890,18 +1890,11 @@ | |
| 1890 | popStackToTag(&renderer, markup.iCode); |
| 1891 | }else |
| 1892 | |
| 1893 | /* Push <div> markup onto the stack together with the id=ID attribute. |
| 1894 | */ |
| 1895 | if( markup.iCode==MARKUP_DIV |
| 1896 | || markup.iCode==MARKUP_HTML5_ARTICLE |
| 1897 | || markup.iCode==MARKUP_HTML5_ASIDE |
| 1898 | || markup.iCode==MARKUP_HTML5_FOOTER |
| 1899 | || markup.iCode==MARKUP_HTML5_HEADER |
| 1900 | || markup.iCode==MARKUP_HTML5_NAV |
| 1901 | || markup.iCode==MARKUP_HTML5_SECTION |
| 1902 | ){ |
| 1903 | pushStackWithId(&renderer, markup.iCode, markupId(&markup), |
| 1904 | (renderer.state & ALLOW_WIKI)!=0); |
| 1905 | }else |
| 1906 | |
| 1907 | /* Enter <verbatim> processing. With verbatim enabled, all other |
| 1908 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1890,18 +1890,11 @@ | |
| 1890 | popStackToTag(&renderer, markup.iCode); |
| 1891 | }else |
| 1892 | |
| 1893 | /* Push <div> markup onto the stack together with the id=ID attribute. |
| 1894 | */ |
| 1895 | if( markup.iCode==MARKUP_DIV ){ |
| 1896 | pushStackWithId(&renderer, markup.iCode, markupId(&markup), |
| 1897 | (renderer.state & ALLOW_WIKI)!=0); |
| 1898 | }else |
| 1899 | |
| 1900 | /* Enter <verbatim> processing. With verbatim enabled, all other |
| 1901 |