Posted 17 years ago
by Jeff Pek
-
Autodesk, Inc.
Version: 4.0.0271
Platform: .NET 2.0
Environment: Windows XP (32-bit)
I've been working with the HTML Format clipboard content, as copied from a SyntaxEditor control. I've noticed that when the HTML that's clipped contains one or more new lines, e.g.,:
foo
bar
You get HTML that looks like this:
<span style="color: #000000;">foo
bar</span>
But ... when that HTML is presented (e.g., in OneNote), it all runs together:
foo bar
As per usual HTML formatting behavior.
I think you need to add <br/> tags in place of the new lines.
Thanks,
Jeff
foo
bar
You get HTML that looks like this:
<span style="color: #000000;">foo
bar</span>
But ... when that HTML is presented (e.g., in OneNote), it all runs together:
foo bar
As per usual HTML formatting behavior.
I think you need to add <br/> tags in place of the new lines.
Thanks,
Jeff