diff options
Diffstat (limited to 'org/out_xmls.org')
| -rw-r--r-- | org/out_xmls.org | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 165cea2..dac590e 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -293,7 +293,7 @@ string font_face(string _txt) { .replaceAll(rgx.inline_subscript, ("<sub>$1</sub>")) .replaceAll(rgx.inline_strike, ("<del>$1</del>")) .replaceAll(rgx.inline_insert, ("<ins>$1</ins>")) - .replaceAll(rgx.inline_mono, ("<tt>$1</tt>")) + .replaceAll(rgx.inline_mono, ("<code>$1</code>")) .replaceAll(rgx.inline_cite, ("<cite>$1</cite>")); return _txt; } @@ -696,7 +696,7 @@ string inline_images(O,M)( .replaceAll(rgx.inline_image, ("$1<img src=\"" ~ _img_pth - ~ "$3\" width=\"$4\" height=\"$5\" naturalsizeflag=\"0\" align=\"bottom\" border=\"0\" /> $6")) + ~ "$3\" width=\"$4\" height=\"$5\" /> $6")) .replaceAll( rgx.inline_link_empty, ("$1")); @@ -817,14 +817,14 @@ string inline_notes_scroll(O,M)( _txt = font_face(_txt); _txt = _txt.replaceAll( rgx.inline_notes_al_regular_number_note, - ("<a href=\"#note_$1\"><note id=\"noteref_$1\"> <sup>$1</sup> </note></a>") + ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\"> <sup>$1</sup> </span></a>") ); } if (obj.has.inline_notes_star) { _txt = font_face(_txt); _txt = _txt.replaceAll( rgx.inline_notes_al_special_char_note, - ("<a href=\"#note_$1\"><note id=\"noteref_$1\"> <sup>$1</sup> </note></a>") + ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\"> <sup>$1</sup> </span></a>") ); } debug(markup_endnotes) { @@ -861,18 +861,18 @@ Tuple!(string, string[]) inline_notes_seg(O,M)( "<a href=\"#noteref_", m.captures[1], "\">", - "<note id=\"note_", + "<span class=\"note\" id=\"note_", m.captures[1], "\"> <sup>", m.captures[1], - ".</sup></note></a>", + ".</sup></span></a>", m.captures[2], "</p>" ); } _txt = _txt.replaceAll( rgx.inline_notes_al_special_char_note, - ("<a href=\"#note_$1\"><note id=\"noteref_$1\"> <sup>$1</sup> </note></a>") + ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\"> <sup>$1</sup> </span></a>") ); } if (obj.has.inline_notes_reg) { @@ -885,18 +885,18 @@ Tuple!(string, string[]) inline_notes_seg(O,M)( "<a href=\"#noteref_", m.captures[1], "\">", - "<note id=\"note_", + "<span class=\"note\" id=\"note_", m.captures[1], "\"> <sup>", m.captures[1], - ".</sup></note></a>", + ".</sup></span></a>", m.captures[2], "</p>" ); } _txt = _txt.replaceAll( rgx.inline_notes_al_regular_number_note, - ("<a href=\"#note_$1\"><note id=\"noteref_$1\"> <sup>$1</sup> </note></a>") + ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\"> <sup>$1</sup> </span></a>") ); } else if (_txt.match(rgx.inline_notes_al_regular_number_note)) { debug(markup) { @@ -978,7 +978,7 @@ string lev4_heading_subtoc(O,M)( text = font_face(text); auto link = m.captures[3].to!string; lev4_subtoc ~= subtoc.replaceFirst(rgx.inline_link_subtoc, - format(q"┃ <p class="minitoc" indent="h%si%s"> + format(q"┃ <p class="minitoc" data-indent="h%si%s"> ۰ <a href="%s">%s</a> </p> ┃", @@ -1227,7 +1227,7 @@ string para(O,M)( if (!(obj.metainfo.identifier.empty)) { o = format(q"┃ <div class="substance"> <label class="ocn"><a href="#%s" class="lnkocn">%s</a></label> - <p class="%s" indent="h%si%s" id="%s">%s + <p class="%s" data-indent="h%si%s" id="%s">%s %s </p> </div>┃", @@ -1246,7 +1246,7 @@ string para(O,M)( ); } else { o = format(q"┃ <div class="substance"> - <p class="%s" indent="h%si%s">%s + <p class="%s" data-indent="h%si%s">%s %s </p> </div>┃", |
