virtualvinodh / aksharamukha

Aksharamukha
160 stars 41 forks source link

an option to preserve html #187

Open vvasuki opened 2 years ago

vvasuki commented 2 years ago

Oft I visit the site just to do one simple thing - transliterate without anything else being affected. Unfortunately, the tool tries to be overly smart and strips html, spaces etc.. There should be an option to avoid this (and it should preferably be default).

Example input (kannada to devanagari) -

<details><summary>ಭಾಗಸೂಚನಾ</summary>

ಮಾರುತಿಯು ಪ್ರಹಸ್ತನ ಮಗ ಜಂಬುಮಾಲಿಯನ್ನು ಸಂಹರಿಸಿದುದು
</details>

## (ಶ್ಲೋಕ - 1)

<details><summary>ಮೂಲಮ್</summary>

ಸಂದಿಷ್ಟೋ ರಾಕ್ಷಸೇಂದ್ರೇಣ ಪ್ರಹಸ್ತಸ್ಯ ಸುತೋ ಬಲೀ ।  
ಜಂಬುಮಾಲೀ ಮಹಾದಂಷ್ಟ್ರೋ ನಿರ್ಜಗಾಮ ಧನುರ್ಧರಃ ॥
</details>
virtualvinodh commented 9 months ago

I have added an option to upload html files and convert only the text nodes. (I'll push it soon)

Would that work?

V

vvasuki commented 9 months ago

I have added an option to upload html files and convert only the text nodes. (I'll push it soon)

Would that work?

V

I don't upload entire html files - just snippets (like the above) from a markdown file, with some html tags. So, it wouldn't help that case.