Error while Executing Filter ConvertFontToSpanFilter - Invalid Character Error

1 posts, 0 answers
  1. Subhash
    Subhash avatar
    1 posts
    Member since:
    Apr 2017

    Posted 18 Jun 2017 Link to this post


     We are using RadEditor Export PDF functionality.

      Export to PDF getting Javascript Error "Error while executing filter ConvertFontToSpanFilter - InvalidCharacterError: Failed to execute 'setAttribute' on      'Element': 'font-family:arial,' is not a valid attribute name.

    We tried to Disable ConvertFontToSpanFilter Filter. Then PDF is not downloaded and getting below Error

    System.ArgumentException: String cannot be of zero length. Parameter name: oldValue at System.String.ReplaceInternal(String oldValue, String newValue) at System.String.Replace(String oldValue, String newValue) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at Telerik.Web.UI.Editor.Export.ApocPdfGenerator.ValidateContentForExport(String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.GenerateXmlStirng(String pageTitle, String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.InitializeXmlContent() at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.Export() at

Back to Top