Fossil SCM

Backed out a part of the previous HTML5 element tag due to potential misinteractions with the parser.

stephan 2014-02-14 15:56 trunk
Commit 016334c45cfeea3e9e5d7b58611eb5e1ead9ae2d
1 file changed +1 -8
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1890,18 +1890,11 @@
18901890
popStackToTag(&renderer, markup.iCode);
18911891
}else
18921892
18931893
/* Push <div> markup onto the stack together with the id=ID attribute.
18941894
*/
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 ){
19031896
pushStackWithId(&renderer, markup.iCode, markupId(&markup),
19041897
(renderer.state & ALLOW_WIKI)!=0);
19051898
}else
19061899
19071900
/* Enter <verbatim> processing. With verbatim enabled, all other
19081901
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button