parallax/jsPDF

Reverse the text in the HTML element while using html method

Open

#3.094 geöffnet am 16. Feb. 2021

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4.596 Forks)batch import
Bugdifficulty:mediumhacktoberfest

Repository-Metriken

Stars
 (28.280 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Using the html method with HTML element RTL text will result in reversed text for example: אב -> בא This can be solved with function before cloning the element or option on the method.

At the moment i solved it with regex + string.replace method, but that can become an issue in large text.

Contributor Guide