From c959735f21b3ddac6932bc9e8862d77a4421f133 Mon Sep 17 00:00:00 2001
From: Ralph Amissah
Date: Sat, 12 Sep 2026 22:42:06 -0400
Subject: epub, html, db: use of elements & attributes, fix
fixed, four things used that XHTML does not have.
(search db sisudoc-spine-search-cgi results share styling)
(assisted by Claude-Code)
---
src/sisudoc/outputs/io_out/xmls.d | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
(limited to 'src/sisudoc/outputs/io_out/xmls.d')
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, ("$1"))
.replaceAll(rgx.inline_strike, ("$1"))
.replaceAll(rgx.inline_insert, ("$1"))
- .replaceAll(rgx.inline_mono, ("$1"))
+ .replaceAll(rgx.inline_mono, ("$1"))
.replaceAll(rgx.inline_cite, ("$1"));
return _txt;
}
@@ -545,7 +545,7 @@ string tail(M)(M doc_matters) {
.replaceAll(rgx.inline_image,
("$1
$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,
- (" $1 ")
+ (" $1 ")
);
}
if (obj.has.inline_notes_star) {
_txt = font_face(_txt);
_txt = _txt.replaceAll(
rgx.inline_notes_al_special_char_note,
- (" $1 ")
+ (" $1 ")
);
}
debug(markup_endnotes) {
@@ -690,18 +690,18 @@ string tail(M)(M doc_matters) {
"",
- " ",
m.captures[1],
- ".",
+ ".",
m.captures[2],
"
"
);
}
_txt = _txt.replaceAll(
rgx.inline_notes_al_special_char_note,
- (" $1 ")
+ (" $1 ")
);
}
if (obj.has.inline_notes_reg) {
@@ -714,18 +714,18 @@ string tail(M)(M doc_matters) {
"",
- " ",
m.captures[1],
- ".",
+ ".",
m.captures[2],
""
);
}
_txt = _txt.replaceAll(
rgx.inline_notes_al_regular_number_note,
- (" $1 ")
+ (" $1 ")
);
} 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"┃
+ format(q"┃
۰ %s
┃",
@@ -1004,7 +1004,7 @@ string tail(M)(M doc_matters) {
if (!(obj.metainfo.identifier.empty)) {
o = format(q"┃ ┃",
@@ -1023,7 +1023,7 @@ string tail(M)(M doc_matters) {
);
} else {
o = format(q"┃ ┃",
--
cgit v1.2.3