aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/outputs/io_out/xmls.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/outputs/io_out/xmls.d')
-rw-r--r--src/sisudoc/outputs/io_out/xmls.d26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sisudoc/outputs/io_out/xmls.d b/src/sisudoc/outputs/io_out/xmls.d
index 4cc4599..3f7f4c9 100644
--- a/src/sisudoc/outputs/io_out/xmls.d
+++ b/src/sisudoc/outputs/io_out/xmls.d
@@ -201,7 +201,7 @@ template outputXHTMLs() {
.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;
}
@@ -545,7 +545,7 @@ string tail(M)(M doc_matters) {
.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"));
@@ -652,14 +652,14 @@ string tail(M)(M doc_matters) {
_txt = font_face(_txt);
_txt = _txt.replaceAll(
rgx.inline_notes_al_regular_number_note,
- ("<a href=\"#note_$1\"><note id=\"noteref_$1\">&#160;<sup>$1</sup> </note></a>")
+ ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\">&#160;<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\">&#160;<sup>$1</sup> </note></a>")
+ ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\">&#160;<sup>$1</sup> </span></a>")
);
}
debug(markup_endnotes) {
@@ -690,18 +690,18 @@ string tail(M)(M doc_matters) {
"<a href=\"#noteref_",
m.captures[1],
"\">",
- "<note id=\"note_",
+ "<span class=\"note\" id=\"note_",
m.captures[1],
"\">&#160;<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\">&#160;<sup>$1</sup> </note></a>")
+ ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\">&#160;<sup>$1</sup> </span></a>")
);
}
if (obj.has.inline_notes_reg) {
@@ -714,18 +714,18 @@ string tail(M)(M doc_matters) {
"<a href=\"#noteref_",
m.captures[1],
"\">",
- "<note id=\"note_",
+ "<span class=\"note\" id=\"note_",
m.captures[1],
"\">&#160;<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\">&#160;<sup>$1</sup> </note></a>")
+ ("<a href=\"#note_$1\"><span class=\"noteref\" id=\"noteref_$1\">&#160;<sup>$1</sup> </span></a>")
);
} else if (_txt.match(rgx.inline_notes_al_regular_number_note)) {
debug(markup) {
@@ -787,7 +787,7 @@ string tail(M)(M doc_matters) {
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>
┃",
@@ -1004,7 +1004,7 @@ string tail(M)(M doc_matters) {
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>┃",
@@ -1023,7 +1023,7 @@ string tail(M)(M doc_matters) {
);
} 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>┃",