Completed
Last Updated: 03 Jun 2020 10:51 by ADMIN
Release R2 2020 SP1
Dimitar
Created on: 17 Jan 2020 09:16
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: The empty lines are not converted properly from RTF to HTML

The empty lines are not converted properly from RTF to HTML

Workaround: 

private static void FixEmptyParagraphs(RadFlowDocument document)
{
    var paragraphs = document.EnumerateChildrenOfType<Paragraph>();



    foreach (var paragraph in paragraphs)
    {
        if (paragraph.Inlines.Count < 1)
        {
            char nbsp = (char)160;
            paragraph.Inlines.AddRun(nbsp.ToString());
        }
    }
}



1 comment
ADMIN
Peshito
Posted on: 02 Jun 2020 13:39

Hello,

This item will be available in R2 2020 SP1 Release.

 

It is also available with Telerik UI for WPF latest internal build - LIB 2020.2.608 (06/08/2020) if you need it earlier.

 

Regards,
Peshito
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.