Skip to content

&nbsp: texts are not working correctly #148

Open
@hardeep360

Description

@hardeep360

If there are too many spaces with   then it starts to count each char separately and show very little text. Other thing is it divides wrongs between summarytext and details.

For example: & start to show in summary text and nbsp; start to show in details text.

However, I made a way around for it in sliceOn callback and replace spaces to   later. Not firstly in loaded text.
This way it is working. Something like

onSlice: function(data) {

data.summary = setSpaces(data.summary);
data.details = setSpaces(data.details);

}

Here I am converting multiple spaces to   so spaces could show correctly in HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions