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) --- org/out_xmls.org | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'org/out_xmls.org') 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, ("$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; } @@ -696,7 +696,7 @@ string inline_images(O,M)( .replaceAll(rgx.inline_image, ("$1 $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, - (" $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) { @@ -861,18 +861,18 @@ Tuple!(string, string[]) inline_notes_seg(O,M)( "", - " ", m.captures[1], - ".", + ".", m.captures[2], "

" ); } _txt = _txt.replaceAll( rgx.inline_notes_al_special_char_note, - (" $1 ") + (" $1 ") ); } if (obj.has.inline_notes_reg) { @@ -885,18 +885,18 @@ Tuple!(string, string[]) inline_notes_seg(O,M)( "", - " ", 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) { @@ -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"┃

+ format(q"┃

۰ %s

┃", @@ -1227,7 +1227,7 @@ string para(O,M)( if (!(obj.metainfo.identifier.empty)) { o = format(q"┃
-

%s +

%s %s

┃", @@ -1246,7 +1246,7 @@ string para(O,M)( ); } else { o = format(q"┃
-

%s +

%s %s

┃", -- cgit v1.2.3