~dricottone/epub2html

ref: ae806b4144a63817e5a1a9c3448540314e2e77ce epub2html/ncx.go -rw-r--r-- 1.2 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.