~dricottone/epub2html

epub2html/xhtml.go -rw-r--r-- 3.3 KiB
Fixing blockquotes and refactoring

Blockquotes are fixed. Rather than hacking on the marshaler, I am
populating a secondary struct with raw XML. The standard marshaler is
able to work with this struct perfectly.

The code has been refactored. All of the (un)?marshaling structs and
implementations have been moved to domain-specific files. Helper
functions are defined so that data is stored in an intermediary slice
and map. The program is still just dumping that data to STDOUT, but all
the hard work for a higher level functionality is done.