Skip to content

Commit

Permalink
Word assets ToC fix: metanorma/metanorma-nist#218
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jul 9, 2020
1 parent da23123 commit 8552b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/isodoc/iec/word_convert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ def insert_toc(intro, docxml, level)
<span lang="EN-GB"><span
style='mso-element:field-begin'></span><span
style='mso-spacerun:yes'>&#xA0;</span>TOC
\\h \\z \\t &quot;TableTitle,1&quot; <span
\\h \\z \\t &quot;TableTitle,tabletitle&quot; <span
style='mso-element:field-separator'></span></span>
TOC

WORD_TOC_FIGURE_PREFACE1 = <<~TOC.freeze
<span lang="EN-GB"><span
style='mso-element:field-begin'></span><span
style='mso-spacerun:yes'>&#xA0;</span>TOC
\\h \\z \\t &quot;FigureTitle,1&quot; <span
\\h \\z \\t &quot;FigureTitle,figuretitle&quot; <span
style='mso-element:field-separator'></span></span>
TOC

Expand Down

0 comments on commit 8552b29

Please sign in to comment.