Skip to content
New issue

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

HTML output discards @othertype note titles #2136

Closed
infotexture opened this issue Nov 16, 2015 · 1 comment
Closed

HTML output discards @othertype note titles #2136

infotexture opened this issue Nov 16, 2015 · 1 comment
Labels
bug obsolete Issue no longer exists in latest release plugin/html5 Issue related to HTML5 plug-in plugin/xhtml Issue relate to XHTML plug-in

Comments

@infotexture
Copy link
Member

Given a <note> of @type=other, the user-specified note title defined in the @othertype attribute is missing in HTML output, but retained in PDF output.

<note type="other" othertype="Update">Note text.</note>

This renders as expected in PDF:

Update: Note text.

In HTML output, the note title is missing:

    : Note text.

The generated HTML source reveals that the @othertype attribute is included on the <span> element, but only the colon character appears in the span content:

<div class="note note note_note">
  <span class="note__title notetitle" othertype="Update">:</span> Note text.
</div>
@robander robander added bug plugin/xhtml Issue relate to XHTML plug-in plugin/html5 Issue related to HTML5 plug-in labels May 6, 2016
@robander
Copy link
Member

I think this one is obsolete - when I have anything in the @othertype attribute, it appears in both XHTML and HTML5 using the same style as other note elements. In both cases:
<note type="other" othertype="My other type">other note here</note>
results in
My other type: other note here

@robander robander added the obsolete Issue no longer exists in latest release label May 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug obsolete Issue no longer exists in latest release plugin/html5 Issue related to HTML5 plug-in plugin/xhtml Issue relate to XHTML plug-in
Projects
None yet
Development

No branches or pull requests

2 participants