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

space characters sometimes are replaced by   #26

Closed
pk-fr opened this issue Jun 27, 2014 · 0 comments
Closed

space characters sometimes are replaced by   #26

pk-fr opened this issue Jun 27, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@pk-fr
Copy link

pk-fr commented Jun 27, 2014

perhaps add   in the replace list
// replace some regexp
code = code.replace(new RegExp('<br/>', 'g'), '\n');
code = code.replace(new RegExp('<br>', 'g'), '\n');
code = code.replace(new RegExp('&lt;', 'g'), '<');
code = code.replace(new RegExp('&gt;', 'g'), '>');
code = code.replace(new RegExp('&amp;', 'g'), '&');

thanx

@pk-fr pk-fr changed the title space characters sometimes are replaced by &amp;nbsp; space characters sometimes are replaced by &nbsp; Jun 27, 2014
@prbaron prbaron added the bug label Jul 4, 2014
@prbaron prbaron self-assigned this Jul 4, 2014
@prbaron prbaron added this to the v1.3.0 milestone Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants