diff options
author | Nikolay Yakimov <root@livid.pp.ru> | 2015-02-21 22:20:18 +0300 |
---|---|---|
committer | Nikolay Yakimov <root@livid.pp.ru> | 2015-02-21 22:20:18 +0300 |
commit | 5cdd11725c2db417f7f93d09fdb7ead90d1700a6 (patch) | |
tree | d895775832d54893689fa286a2ed5c64936b3f26 /src/Text/Pandoc/Writers/EPUB.hs | |
parent | a7c67c897ecebe339078b212a93a35a54a6fc143 (diff) | |
download | pandoc-5cdd11725c2db417f7f93d09fdb7ead90d1700a6.tar.gz |
Initial stab at more involved fix for #1607
This patch attempts to build a style name -> style id mapping based on styles.xml from reference doc, and changes pStyle and rStyle to accept style name as a parameter instead of styleId. There is a fallback mechanic that removes spaces from style name and returns it as style id, but it likely won't help much.
Style names are matched lower-case, since headings and `footnote text` have lowercase names.
Diffstat (limited to 'src/Text/Pandoc/Writers/EPUB.hs')
0 files changed, 0 insertions, 0 deletions