Page 1 of 1

SaveHTML issue

Posted: Sun Jun 28, 2026 2:13 pm
by fatih
Hello,

I save as HTML with this code:

Code: Select all

RichViewEdit1.SaveHTML(filename,rvhtmlspComplete);
But, here is the saved file:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
body {
I think it was working well in older versions. What is wrong? :?:

Re: SaveHTML issue

Posted: Wed Jul 01, 2026 11:45 am
by Sergey Tkachenko
I cannot reproduce this problem.
The problem may be related to a specific document and specific property values.
Please send me a sample project reproducing this problem.
What version of TRichView and Delphi do you use?

Re: SaveHTML issue

Posted: Thu Jul 02, 2026 1:12 pm
by fatih
Tested again. Strangely, it works perfectly now.
VCL
Delphi 13.1
TRichView 24.1.3