diff --git a/FastReport.Base/Export/Html/HTMLExportDraw.cs b/FastReport.Base/Export/Html/HTMLExportDraw.cs index 14118717..a2bb319d 100644 --- a/FastReport.Base/Export/Html/HTMLExportDraw.cs +++ b/FastReport.Base/Export/Html/HTMLExportDraw.cs @@ -19,7 +19,7 @@ private void HTMLFontStyle(FastString FFontDesc, Font font, float LineHeight) FFontDesc.Append("text-decoration:underline;"); else if ((font.Style & FontStyle.Strikeout) > 0) FFontDesc.Append("text-decoration:line-through;"); - FFontDesc.Append("font-family:").Append(font.Name).Append(";"); + FFontDesc.Append("font-family:").Append($"\'{font.Name}\'").Append(";"); FFontDesc.Append("font-size:").Append(Px(font.Size * 96 / 72)); if (LineHeight > 0) diff --git a/FastReport.Base/Export/Html/HTMLExportTemplates.cs b/FastReport.Base/Export/Html/HTMLExportTemplates.cs index 4451b702..8a639cfe 100644 --- a/FastReport.Base/Export/Html/HTMLExportTemplates.cs +++ b/FastReport.Base/Export/Html/HTMLExportTemplates.cs @@ -155,7 +155,7 @@ public HtmlTemplates() Part("
"); Part(""); - Part(""); + Part(""); Part("