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

Preserve br tags #57

Closed
NetanelBasal opened this issue Jan 14, 2016 · 2 comments
Closed

Preserve br tags #57

NetanelBasal opened this issue Jan 14, 2016 · 2 comments

Comments

@NetanelBasal
Copy link

I have br tags in my string, and I want them to be a real br and not show them in the code, how can I do this?

@pc035860
Copy link
Owner

Hi, if you're using hljs-source for the highlighting, you can just
pragmatically remove replace those br tags with newline character I think.
Netanel notifications@github.com於 2016年1月14日 週四,下午3:10寫道:

I have br tags in my string, and I want them to be a real br and not show
them in the code, how can I do this?


Reply to this email directly or view it on GitHub
#57.

@pc035860
Copy link
Owner

Before you through the source into hljs-source.
Chih-Hsuan Fan pc035860@gmail.com於 2016年1月15日 週五,上午10:16寫道:

Hi, if you're using hljs-source for the highlighting, you can just
pragmatically remove replace those br tags with newline character I think.
Netanel notifications@github.com於 2016年1月14日 週四,下午3:10寫道:

I have br tags in my string, and I want them to be a real br and not show
them in the code, how can I do this?


Reply to this email directly or view it on GitHub
#57.

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