mozilla/kuma — pull request #2147 by lmorchard (2014-03-14 20:13:32+00:00)
Title: fix bug 982942: Ensure section IDs injected for ?raw; performance tweaks

* Ensure that section IDs are injected into content fetched via
?raw, which also fixes section extraction for ?raw§ion=foo

* Further reduce the instances where wiki.content.parse() is called
during the view critical path, limiting it to just the few remaining
cases in _filter_doc_html()

* Left some TODO comments as notes for some next steps in view
optimization