(Bug 54877) Tokenize [[[[Foo]]]] correctly

* Added a new parser test which fails html2html and html2wt
  modes because PHP parser's HTML output is not serialized
  correctly in all cases yet.

Change-Id: Ia5e36f98af1c399e308a356b26470bba5e65970d
Merge "(Bug 54877) Tokenize [[[[Foo]]]] correctly"