SaveHTML issue

General TRichView support forum. Please post your questions here
Post Reply
fatih
Posts: 12
Joined: Sun May 11, 2025 3:22 pm

SaveHTML issue

Post 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? :?:
Sergey Tkachenko
Site Admin
Posts: 18155
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: SaveHTML issue

Post 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?
fatih
Posts: 12
Joined: Sun May 11, 2025 3:22 pm

Re: SaveHTML issue

Post by fatih »

Tested again. Strangely, it works perfectly now.
VCL
Delphi 13.1
TRichView 24.1.3
Post Reply