Skip to content

Change from innerHTML to innerText #2330

@Danielku15

Description

@Danielku15

Discussed in #2316

We currently use innerHTML to load various bits like alphaTex from the DOM. Using innerText is what we actually need in most cases. Especially the case mentioned in the discussion above.

Before actually changing we should check if there are any negative implications of changing. Especially in case of DOM scaping and how we parse things.

Metadata

Metadata

Assignees

Labels

area-file-formatsRelated to supported file formatsplatform-javascriptRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions