Commit f53130d2 authored by Alexandros Georgantas's avatar Alexandros Georgantas

use fragment\'s type and division

parent 73b34c64
......@@ -281,6 +281,9 @@ class HTMLEPUB {
'@class': 'toc',
ol: {
li: this.xhtml.map(item => ({
'@class': 'toc_li',
'@class': `${item.division.toLowerCase()}`,
'@class': `${item.type.toLowerCase()}`,
'a': {
'@href': item.target,
'#text': item.title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment