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

removed attributes from child headings inside <div> #1755

Closed
ousia opened this issue Nov 12, 2014 · 1 comment
Closed

removed attributes from child headings inside <div> #1755

ousia opened this issue Nov 12, 2014 · 1 comment

Comments

@ousia
Copy link
Contributor

ousia commented Nov 12, 2014

I accidentally discovered that titles inside <div> get their attributes removed.

Sample:

<div>
# [Title with attributes] {.hidden #hammer}
## [another title] {.attr #noma}
</div>

<div class="matter">
# [Title with attributes] {.hidden #hammer}
### [another title] {.attr #noma}
</div>

And HTML ouput from latest stable pandoc:

<div>
<h1>[Title with attributes]</h1>
<h2>[another title]</h2>
</div>
<div class="matter">
<h1>[Title with attributes]</h1>
<h3>[another title]</h3>
</div>

Could you fix this?

@ousia ousia changed the title <div> removes attributes from titles inside removed attributes from child headings inside <div> Nov 15, 2014
@jgm
Copy link
Owner

jgm commented Nov 17, 2014

Dup of #1711, fixed already by e16683b.

@jgm jgm closed this as completed Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants