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

HTML Converter - Space Between Nodes #11

Open
iamvery opened this issue Jun 14, 2012 · 1 comment
Open

HTML Converter - Space Between Nodes #11

iamvery opened this issue Jun 14, 2012 · 1 comment

Comments

@iamvery
Copy link
Contributor

iamvery commented Jun 14, 2012

What if I'd like to have spaces between HTML nodes? Like, when using formatting HTML tags.

Say you have HTML as such:

<p>This is a <em>test</em>.</p>

This would be rendered as:

This is atest.

I cannot come up with any way to allow space between nodes at all! All text is stripped of leading/trailing space. Ideas?


This is copied from b3d57cc#commitcomment-1460132

@iamvery
Copy link
Contributor Author

iamvery commented Jun 14, 2012

Worked up a fix for my particular case https://github.com/iamvery/rtf/commit/38d80ed425033e77d2ebc67843e5e02e2ac62a9b

Still having issues with things like:

<p><strong>abc </strong><em>123</em></p>

Render something like "abc123" instead of "abc 123"

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

1 participant