Formatted static text: Spaces get lost
Hello,
a very nice feature of your addin is the creation of Literal controls from text that was directly entered into the page.
But if that text is formatted it is splitted into several Literal controls and the spaces in the text get lost.
Example:
Consider that your page contains the following text:
Das ist ein Test, ob Das Multilanguage-Addin auch <span class="style1"> formatierte</span> Texte die direkt in der Seite stehen bearbeitet.
After replacing that text with Literal controls you get the following:
<asp:Literal ID="ML_0004" runat="server" meta:resourcekey="ML_0004" Text="Das ist ein Test, ob Das Multilanguage-Addin auch"></asp:Literal> <span class="style1"> <asp:Literal ID="ML_0009" runat="server" meta:resourcekey="ML_0009" Text="formatierte"></asp:Literal></span> <asp:Literal ID="ML_0014" runat="server" meta:resourcekey="ML_0014" Text="Texte die direkt in der Seite stehen bearbeitet."></asp:Literal>
Note that for example the Literal control with the text "formatierte" does not contain the leading space!
Ciao,
Ralf