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

Not passing through HTML #24

Open
pathawks opened this Issue Oct 25, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@pathawks
Copy link
Member

pathawks commented Oct 25, 2018

If I have a post that contains raw HTML, after passing through CommonMark I get:

<!-- raw HTML omitted -->

We need to change the default configuration to prevent this.

@pathawks

This comment has been minimized.

Copy link
Member Author

pathawks commented Oct 25, 2018

We need to enable the UNSAFE option to allow HTML passthrough.

@jekyllbot

This comment was marked as outdated.

Copy link
Contributor

jekyllbot commented Dec 25, 2018

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyllbot jekyllbot added the stale label Dec 25, 2018

@desiredpersona

This comment has been minimized.

Copy link

desiredpersona commented Feb 5, 2019

I ran into this issue while benchmarking.

An include file with HTML from my _includes directory at the root of my sites source directory stopped working.

Adding the UNSAFE option fixed my issue.

# Markdown Settings
markdown: CommonMark
commonmark:
  options: ["SMART", "FOOTNOTES", "UNSAFE"]
  extensions: ["strikethrough", "autolink", "table"]

@jekyllbot jekyllbot removed the stale label Feb 5, 2019

@DirtyF DirtyF added the enhancement label Feb 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment