You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the whitespace is introduced by Encoda's pretty printing indenting the <address> element in thema/src/examples/articleReplication.html:
<liitemscope="" itemtype="http://schema.org/Organization" itemid="#author-organization-1"
id="author-organization-1"><spanitemprop="name">University of Georgia, Bioexpression and
Fermentation Facility</span><addressitemscope="" itemtype="http://schema.org/PostalAddress" itemprop="address"><spanitemprop="addressLocality">Georgia</span><spanitemprop="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 ....>
It seems that the whitespace is introduced by Encoda's pretty printing indenting the
<address>
element inthema/src/examples/articleReplication.html
: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:
<span itemscope="" itemtype="http://schema.org/PostalAddress" itemprop="address">
instead of<address ....>
<address>
elemsOriginally posted by @nokome in stencila/thema#261 (comment)
The text was updated successfully, but these errors were encountered: