parallax/jsPDF

Reverse the text in the HTML element while using html method

Open

#3.094 aberto em 16 de fev. de 2021

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (4.596 forks)batch import
Bugdifficulty:mediumhacktoberfest

Métricas do repositório

Stars
 (28.280 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador