Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
70 Unique Ways to Encode <
<
%3C
&lt
&lt;
&LT
&LT;
&#60
&#060
&#0060
&#00060
&#000060
&#0000060
&#60;
&#060;
&#0060;
&#00060;
&#000060;
&#0000060;
&#x3c
&#x03c
&#x003c
&#x0003c
&#x00003c
&#x000003c
&#x3c;
&#x03c;
&#x003c;
&#x0003c;
&#x00003c;
&#x000003c;
&#X3c
&#X03c
&#X003c
&#X0003c
&#X00003c
&#X000003c
&#X3C
&#X03C
&#X003C
&#X0003C
&#X00003C
&#X000003C
&#X3C;
&#X03C;
&#X003C;
&#X0003C;
&#X00003C;
&#X000003C;
x3c
x3C
u003c
u003C
&#X3c;
&#X03c;
&#X003c;
&#X0003c;
&#X00003c;
&#X000003c;
&#x3C
&#x03C
&#x003C
&#x0003C
&#x00003C
&#x000003C
&#x3C;
&#x03C;
&#x003C;
&#x0003C;
&#x00003C;
&#x000003C;
@lucasrizoli

This comment has been minimized.

@vjeux

This comment has been minimized.

Copy link

commented Dec 6, 2013

@StoneCypher

This comment has been minimized.

Copy link

commented Dec 6, 2013

All of the entities missing semicolons are incorrect.

@aaronblohowiak

This comment has been minimized.

Copy link

commented Dec 6, 2013

@aprilthemoo that is an impolite thing to ask.

@Niggler

This comment has been minimized.

Copy link

commented Dec 6, 2013

@aprilthemoo there's no need to offend autistic people

@adkatrit

This comment has been minimized.

Copy link

commented Dec 7, 2013

@Niggler spoken from the username "niggler"

@jjt

This comment has been minimized.

Copy link

commented Dec 7, 2013

@StoneCypher If some browsers interpret the ones without semicolons, then those are each a different way to encode the charcter. Did you mean to say "they're not according to spec"?

@dylanroy

This comment has been minimized.

Copy link

commented Dec 7, 2013

For example: In some, if not all, browsers &ltsometext will not be parsed correctly. <sometext would be.

@monokrome

This comment has been minimized.

Copy link

commented Dec 7, 2013

Who let @aprilthemoo on the internet?!

@Keith-S-Thompson

This comment has been minimized.

Copy link

commented Dec 7, 2013

I encourage you to exercise a little editorial control on your comment section.

@devilshaircut

This comment has been minimized.

Copy link

commented Dec 7, 2013

Whoa ... this Gist needs a mod. Hah. Nice to see people sticking up for StoneCypher though.

@cocoademon

This comment has been minimized.

@uhmtoto

This comment has been minimized.

Copy link

commented Dec 20, 2018

How about '>'??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.