Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by martyb on Wednesday January 21 2015, @12:17AM   Printer-friendly
from the o-rly? dept.

sarcasm - HTML Only

Simple tests with lower-case-only tags followed by uppercase-only followed by two-different examples of mixed-case; for each of: "sarc" and "sarcasm":

[sarc]sarc[sarc]: <sarcasm>sarc</sarcasm>

[SARC]SARC[/SARC]: <sarcasm>SARC</sarcasm>

[Sarc]Sarc[/Sarc]: <sarcasm>Sarc</sarcasm>

[sARC]sARC[/sARC]: <sarcasm>sARC</sarcasm>

[sarcasm]sarcasm[/sarcasm]: <sarcasm>sarcasm</sarcasm>

[SARCASM]SARCASM[/SARCASM]: <sarcasm>SARCASM</sarcasm>

[Sarcasm]Sarcasm[/Sarcasm]: <sarcasm>Sarcasm</sarcasm>

[sARCASM]sARCASM[/sARCASM]: <sarcasm>sARCASM</sarcasm>

Nested tags; using [sarc] and [/sarc]:

before_sarc<sarcasm>in_sarc_and_before_another<sarcasm>inside_nested_sarc</sarcasm>out_of_nested_sarc</sarcasm>out_of_sarc

Very nested, using [sarc] and [/sarc]:

BEFORE<sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm>8-levels-in</sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm>AFTER

Nested incorrectly; same as preceding, but in reverse (start with 8: [/sarc] and end with 8: [sarc] tags:

BEFORE</sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm></sarcasm>8-levels-in<sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm><sarcasm>AFTER

This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.