fix(HTML): Do not indent <address> elements
nokome opened this issue ยท 1 comments
nokome commented
It seems that the whitespace is introduced by Encoda's pretty printing indenting the <address>
element in thema/src/examples/articleReplication.html
:
<li itemscope="" itemtype="http://schema.org/Organization" itemid="#author-organization-1"
id="author-organization-1"><span itemprop="name">University of Georgia, Bioexpression and
Fermentation Facility</span>
<address itemscope="" itemtype="http://schema.org/PostalAddress" itemprop="address"><span
itemprop="addressLocality">Georgia</span><span itemprop="addressCountry">United
States</span></address>
</li>
Note that there is no trailing whitespace in the <span itemprop="name">
element and if you remove the indentation of <address>
the extra whitespace goes away.
Two options for changes in Encoda to rectify this:
- use
<span itemscope="" itemtype="http://schema.org/PostalAddress" itemprop="address">
instead of<address ....>
- turn off indenting of
<address>
elems
Originally posted by @nokome in stencila/thema#261 (comment)
stencila-ci commented
๐ This issue has been resolved in version 0.103.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐