Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

font-family: "Brush Script MT" in <style> tag breaks HTML markup #513

@rivdiv

Description

@rivdiv

Version 19.1
Installed via Nuget
Using Visual Studio 2013

Issue:

Depending on how the HTML that is being displayed in the TextBox is formatted, the HtmlEditorExtender will mess up the <style> tag and display it as follows:
<style< style="">

To Reproduce

See attached sample project. There are 2 .html files, both contain the same content, only difference apparent to me is one file is formatted with indentations in beginning of the lines, while the other is not. While both cases, the content inside the style tag is removed, the latter causes the HtmlEditorExtender to display the style tag as <style< style="">.

Is there a work-around?

(When the bad output is sent as an email to a gmail recipient, gmail will not display the email text.)

Same results in Chrome, Firefox and Edge.
HtmlEditorExtenderBug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions