Created
December 20, 2022 11:39
-
-
Save iamrobert/bced94dfc81bdecfc89d035e1038cf8b to your computer and use it in GitHub Desktop.
Bad Html Example to clean on paste
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3 class="class">Some supported heading</h3> | |
<h6>non supported heading</h6> | |
<style type="text/css"> | |
font { | |
font-family: arial; | |
font-size: 140%; | |
} | |
</style> | |
<h1><p>PASTE CHECK</p></h1> | |
<h1><a href="#">PASTE CHECK</a></p></h1> | |
<p>Eempttyty</p> | |
<p></p> | |
<p> </p> | |
<p> </p> | |
<p>EMPTy</p> | |
<pre id="script">dynamically added text.</pre> | |
<font color="red">RED</font> | |
<b onclick="alert('BOLD')">bold</b> | |
<!-- What to do with this? --> | |
<!--? test ?--> | |
<span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> | |
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal"> | |
<span style="FONT-SIZE: 10pt; BACKGROUND: red; COLOR: #ff9900; mso-bidi-font-family: Arial; mso-highlight: red">Sample MS Word content</span></b> | |
<b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 10pt; COLOR: #ff9900; mso-bidi-font-family: Arial"> | |
<!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p></span></b></p></span></span> | |
aaa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment