Merge pull request #3454 from shibukawa/fix/epub-validation-error

fix epub validation error at content.opf
This commit is contained in:
Takeshi KOMIYA
2017-02-25 11:44:50 +09:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -25,13 +25,13 @@
{%- if spine.linear %}
<itemref idref="{{ spine.idref }}" />
{%- else %}
<itemref idref="{{ spine.idref }}" linear="no" />'''
<itemref idref="{{ spine.idref }}" linear="no" />
{%- endif %}
{%- endfor %}
</spine>
<guide>
{%- for guide in guides %}
<reference type="{{ guide.type }}" title="{{ guide.title }}" href="{{ guide.uri }}" />'''
<reference type="{{ guide.type }}" title="{{ guide.title }}" href="{{ guide.uri }}" />
{%- endfor %}
</guide>
</package>

View File

@@ -34,13 +34,13 @@
{%- if spine.linear %}
<itemref idref="{{ spine.idref }}" />
{%- else %}
<itemref idref="{{ spine.idref }}" linear="no" />'''
<itemref idref="{{ spine.idref }}" linear="no" />
{%- endif %}
{%- endfor %}
</spine>
<guide>
{%- for guide in guides %}
<reference type="{{ guide.type }}" title="{{ guide.title }}" href="{{ guide.uri }}" />'''
<reference type="{{ guide.type }}" title="{{ guide.title }}" href="{{ guide.uri }}" />
{%- endfor %}
</guide>
</package>