We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
en-todo checkboxes are always checked in HTML5 Documents.
PHP Sample
/** @var \Evernote\Enml\Converter\EnmlToHtmlConverter */ $converter = $note->getContent()->getHtmlConverter(); $content = $converter->convertToHtml($note->getContent()->toEnml());
Original XSLT
<xsl:template match="en-todo"> <input type="checkbox" value="1" checked="{@checked}"/> </xsl:template>
Working XSLT
<xsl:template match="en-todo"> <xsl:choose> <xsl:when test="@checked='true'"> <input type="checkbox" value="1" checked="checked"/> </xsl:when> <xsl:otherwise> <input type="checkbox" value="1"/> </xsl:otherwise> </xsl:choose> </xsl:template>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
en-todo checkboxes are always checked in HTML5 Documents.
PHP Sample
Original XSLT
Working XSLT
The text was updated successfully, but these errors were encountered: