Fossil SCM

Add a missing bitmask reported in the upstream forum post. How it works at all without this is not clear - it apparently shouldn't.

stephan 2025-06-09 07:57 markdown-details-open
Commit 5645824bd07658caf65d669380111ad8e83fd41b8466700198b3dc1dbbf1adff
1 file changed +1 -1
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -329,11 +329,11 @@
329329
{ "colgroup", MARKUP_COLGROUP, MUTYPE_BLOCK,
330330
AMSK_ALIGN|AMSK_CLASS|AMSK_COLSPAN|AMSK_WIDTH|AMSK_STYLE},
331331
{ "dd", MARKUP_DD, MUTYPE_LI, AMSK_STYLE },
332332
{ "del", MARKUP_DEL, MUTYPE_FONT, AMSK_STYLE },
333333
{ "details", MARKUP_DETAILS, MUTYPE_BLOCK,
334
- AMSK_ID|AMSK_CLASS|AMSK_STYLE },
334
+ AMSK_ID|AMSK_CLASS|AMSK_STYLE|AMSK_OPEN },
335335
{ "dfn", MARKUP_DFN, MUTYPE_FONT, AMSK_STYLE },
336336
{ "div", MARKUP_DIV, MUTYPE_BLOCK,
337337
AMSK_ID|AMSK_CLASS|AMSK_STYLE },
338338
{ "dl", MARKUP_DL, MUTYPE_LIST,
339339
AMSK_COMPACT|AMSK_STYLE },
340340
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -329,11 +329,11 @@
329 { "colgroup", MARKUP_COLGROUP, MUTYPE_BLOCK,
330 AMSK_ALIGN|AMSK_CLASS|AMSK_COLSPAN|AMSK_WIDTH|AMSK_STYLE},
331 { "dd", MARKUP_DD, MUTYPE_LI, AMSK_STYLE },
332 { "del", MARKUP_DEL, MUTYPE_FONT, AMSK_STYLE },
333 { "details", MARKUP_DETAILS, MUTYPE_BLOCK,
334 AMSK_ID|AMSK_CLASS|AMSK_STYLE },
335 { "dfn", MARKUP_DFN, MUTYPE_FONT, AMSK_STYLE },
336 { "div", MARKUP_DIV, MUTYPE_BLOCK,
337 AMSK_ID|AMSK_CLASS|AMSK_STYLE },
338 { "dl", MARKUP_DL, MUTYPE_LIST,
339 AMSK_COMPACT|AMSK_STYLE },
340
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -329,11 +329,11 @@
329 { "colgroup", MARKUP_COLGROUP, MUTYPE_BLOCK,
330 AMSK_ALIGN|AMSK_CLASS|AMSK_COLSPAN|AMSK_WIDTH|AMSK_STYLE},
331 { "dd", MARKUP_DD, MUTYPE_LI, AMSK_STYLE },
332 { "del", MARKUP_DEL, MUTYPE_FONT, AMSK_STYLE },
333 { "details", MARKUP_DETAILS, MUTYPE_BLOCK,
334 AMSK_ID|AMSK_CLASS|AMSK_STYLE|AMSK_OPEN },
335 { "dfn", MARKUP_DFN, MUTYPE_FONT, AMSK_STYLE },
336 { "div", MARKUP_DIV, MUTYPE_BLOCK,
337 AMSK_ID|AMSK_CLASS|AMSK_STYLE },
338 { "dl", MARKUP_DL, MUTYPE_LIST,
339 AMSK_COMPACT|AMSK_STYLE },
340

Keyboard Shortcuts

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