=toc

Test case for "TOC plugin":http://mojomojo.ideascale.com/akira/dtd/6321-2416.

The Big Step 1

The first heading text hoes hero

The Big Step 2

This is the second heading text

second header, first subheader

Some subheader text here

second header, second subheader

Another piece of subheadeg text here

The Big Step

Third heading text

The Big Step

Fourth heading text; anchor above needed uniquifying

The big Step

Per http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1, "Anchor names must be unique within a document. Anchor names that differ only in case may not appear in the same document."

The Big Step #6

The number/hash sign is allowed in fragments; the fragment starts with the first hash. No spec as a reference for this, but the anchors work in Firefox 3 and IE 6.

Calculation #7: 7/5>3 or <2?

Hash marks in fragments work, as well as '/' and '?' signs. < and > are escaped.

行政区域

I have no idea WTF that means, but per per http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1, "Anchor names should be restricted to ASCII characters.", and MediaWiki does that too (see http://zh.wikipedia.org/wiki/刚果民主共和国)

#8: start with a number (hash) [pound] {comment} sign

Lots of gibberish here: "!"#$%&'()*+,-./:;=>?@[\]^_`{|}~

Note how the straight quotes were replaced by smart quotes, which are invalid in id attributes for XHTML 1.0 (!)