aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/epub3.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-04-30 21:05:13 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commita263d67a5dfb5fad70059f63c1029f9174bf7ff0 (patch)
tree01a42457dec1121bd8ed2c18f5ca01401e476292 /src/sdp/output/epub3.d
parentepub3, enable tables (diff)
link url matching
- smid: sisu markup identify - inline_link_markup_regular matches series of marked up urls, e.g. { link txt }http://url, { link txt }http://url
Diffstat (limited to 'src/sdp/output/epub3.d')
-rw-r--r--src/sdp/output/epub3.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d
index 15e3d35..321ef9b 100644
--- a/src/sdp/output/epub3.d
+++ b/src/sdp/output/epub3.d
@@ -413,24 +413,24 @@ template outputEPub3() {
switch (obj.is_a) {
case "quote":
auto t = xhtml_format.quote_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= to!string(t[0]);
+ doc_epub3[segment_filename] ~= t[0].to!string;
doc_epub3_endnotes[segment_filename] ~= t[1];
break;
case "group":
auto t = xhtml_format.group_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= to!string(t[0]);
+ doc_epub3[segment_filename] ~= t[0].to!string;
doc_epub3_endnotes[segment_filename] ~= t[1];
break;
case "block":
auto t = xhtml_format.block_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= to!string(t[0]);
+ doc_epub3[segment_filename] ~= t[0].to!string;
doc_epub3_endnotes[segment_filename] ~= t[1];
break;
case "poem":
break;
case "verse":
auto t = xhtml_format.verse_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= to!string(t[0]);
+ doc_epub3[segment_filename] ~= t[0].to!string;
doc_epub3_endnotes[segment_filename] ~= t[1];
break;
case "code":