aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_html.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output_html.d')
-rw-r--r--src/sdp/output_html.d34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/sdp/output_html.d b/src/sdp/output_html.d
index a05812f..9e66311 100644
--- a/src/sdp/output_html.d
+++ b/src/sdp/output_html.d
@@ -80,10 +80,8 @@ template outputHTML() {
break;
case "block":
switch (obj.is_a) {
- case "poem":
- break;
- case "verse":
- doc_html ~= xhtml_format.verse(obj);
+ case "quote":
+ doc_html ~= xhtml_format.nugget(obj);
break;
case "group":
doc_html ~= xhtml_format.nugget(obj);
@@ -91,15 +89,17 @@ template outputHTML() {
case "block":
doc_html ~= xhtml_format.nugget(obj);
break;
- case "quote":
- doc_html ~= xhtml_format.nugget(obj);
+ case "poem":
break;
- case "table":
- doc_html ~= xhtml_format.table(obj);
+ case "verse":
+ doc_html ~= xhtml_format.verse(obj);
break;
case "code":
doc_html ~= xhtml_format.code(obj);
break;
+ case "table":
+ doc_html ~= xhtml_format.table(obj);
+ break;
default:
if ((doc_matters.opt_action_bool["debug"])) {
writeln(__FILE__, ":", __LINE__, ": ", obj.is_a);
@@ -301,10 +301,8 @@ template outputHTML() {
break;
case "block":
switch (obj.is_a) {
- case "poem":
- break;
- case "verse":
- doc_html[segment_filename] ~= xhtml_format.verse(obj);
+ case "quote":
+ doc_html[segment_filename] ~= xhtml_format.nugget(obj);
break;
case "group":
doc_html[segment_filename] ~= xhtml_format.nugget(obj);
@@ -312,16 +310,18 @@ template outputHTML() {
case "block":
doc_html[segment_filename] ~= xhtml_format.nugget(obj);
break;
- case "quote":
- doc_html[segment_filename] ~= xhtml_format.nugget(obj);
+ case "poem":
break;
- case "table":
- doc_html[segment_filename] ~= xhtml_format.table(obj);
- doc_html_endnotes[segment_filename] ~= "";
+ case "verse":
+ doc_html[segment_filename] ~= xhtml_format.verse(obj);
break;
case "code":
doc_html[segment_filename] ~= xhtml_format.code(obj);
break;
+ case "table":
+ doc_html[segment_filename] ~= xhtml_format.table(obj);
+ doc_html_endnotes[segment_filename] ~= "";
+ break;
default:
if ((doc_matters.opt_action_bool["debug"])) {
writeln(__FILE__, ":", __LINE__, ": ", obj.is_a);