Opened 7 years ago

Closed 7 years ago

#8800 closed (fixed)

New docs search producing invalid HTML

Reported by: frasern Owned by: jacob
Component: * Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Very minor, but I noticed that my patch from #8723 that was committed in [8844] contains errors which causes the new docs site to produce invalid HTML.

The script tag in search_form.html has an unescaped ampersand (this was actually copied and pasted from Google's example code).

Also, it looks like the lang variable is never populated.

The attached (untested) patch should hopefully fix both of these.

Attachments (1)

8800.patch (1.5 KB) - added by frasern 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by frasern

comment:1 Changed 7 years ago by kratorius

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by mtredinnick

  • Component changed from Documentation to Django Web site

comment:3 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

seems this was fixed in [9073].

Note: See TracTickets for help on using tickets.
Back to Top