Skip to content

Newlines not working in firefox #2

@jabbany

Description

@jabbany

Newlines within comments do not work in Firefox. They are instead rendered into a single space.

cmt.appendChild(document.createTextNode(data.text));
cmt.innerText = data.text;
cmt.style.fontSize = data.size + "px";

should be fixed to split strings by line-breaks and insert text nodes along with <br> nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions