When I try to paste HTML text containing a horizontal line (in source: <hr size=2 width="100%" align=center>
) from the clipboard into TAdvRichEditor, I get the following error (line 5136 in AdvRichEditorRTF.pas (v. 1.8.9.3):
And object in debugger:
Regards
Gabriel
I tested with the latest version TAdvRichEditor v1.8.9.5 the HTML code
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
</head>
<body>
Before the line
<hr size=2 width="100%" align=center>
After the line
</body>
</html>
but I cannot see an error here.
Did you insert the html code or the generated text and line from the browser/mail? More precisely, the problem appears for me after copying text from an e-mail (in HTML format) containing a line generated in this way.
I opened this HTML in a browser & copied it from the browser to the clipboard.