Move section ID fallbacks into headers themselves
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 3 Aug 2017 21:56:59 +0000 (14:56 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 3 Aug 2017 22:16:47 +0000 (15:16 -0700)
commit4f2eed6877938c3c7703072567e62b933c07b4b5
tree3d9a4cc0a6e072e4fdab2910c06a6faa771780e5
parent87a0b17127195742e6c64472dbfdac65b4d254d7
Move section ID fallbacks into headers themselves

Per feeedback on T152540. Now there's an uniform way to get to
section's <h*> from element with the given ID.

Change-Id: I94b46707dadb1988d963344b02060dcaffdab7b4
includes/Linker.php
tests/parser/parserTests.txt