html tags disappear
See original GitHub issue- Markwon version: 4.3.1
- Please specify expected/actual behavior
I want the output of
<owo>Hello!</owo> <strong>ok</strong>
to be unchanged but what actually happens is the html tags get removed:Hello! ok
- Please specify conditions/steps to reproduce (layout, code, markdown used, etc)
private val markwon: Markwon = Markwon.builder(applicationContext).build()
markwon.setMarkdown(messageArea, "<owo>Hello!</owo> <whatever>ok</whatever>")
I’m trying to make a chat app so I dont want people typing in html code. Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
How to make HTML disappear completely - freeCodeCamp
Run away! Run far, far away! ... One final way you can hide an element is just to move it so far off...
Read more >Why are my HTML tags disappearing? - php - Stack Overflow
Why are my HTML tags disappearing? ... My structure is : ... php: <?php $con = mysql_connect('myServerAddress', 'ainsworthremote', 'myPassword'); if ...
Read more >HTML Code disappears - WordPress.org
I am using latest version of Beaver Builder along with WP's latest version. I designed a page using BB and everything is all...
Read more >Some HTML Tags Disappear After Saving the Source Code in ...
I am trying to add a new HTML tag to the source code of my dynamic or shared content section. After saving a...
Read more >My HTML Markup in Sections is disappearing! - GeneratePress
My custom HTML markup in Sections (text tab) disappears every time I save. Div tags seem to remain, but P and BR do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can sanitize input before it is persisted (save in database, sent to server) or before rendering. For example here is how to do it before rendering:
If you wish to disable links then you will have to use experimental inline parser. It is experimental because it uses some internal classes from
commonmark-java
but it still passes the whole commonmark test spec, so I would say it is pretty stableYou are welcome 🙌