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

Remove enclosing <p> tag with an option, say --inner-html #418

Closed
RobertDober opened this issue Sep 20, 2021 · 0 comments
Closed

Remove enclosing <p> tag with an option, say --inner-html #418

RobertDober opened this issue Sep 20, 2021 · 0 comments
Assignees

Comments

@RobertDober
Copy link
Collaborator

This is useful when Earmark.as_html!(..., inner_html: true) is called in an EEx template (in my use case a Phoenix app) and goes into an inline element

E.g.

<span><%= Earmark.as_html!(....)%></span>
<span><%= Earmark.as_html!(....)%></span>
@RobertDober RobertDober self-assigned this Sep 20, 2021
@RobertDober RobertDober added this to the 1.4.16 milestone Sep 20, 2021
RobertDober added a commit that referenced this issue Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant