Steps to replicate the issue (include links if applicable):
- Edit a section with a < in the header
- Do not change the default /* header title /* code
What happens?:
Header does not include the < and anything after it.
What should have happened instead?:
Edit summary should include < and any subsequent text.
- In example one, should be /* Test section <1> */
- In example two, "<0/1/0>" should be included at the end of the title
I don't think this is directly related to T358810 since that was fixed a while ago, but it is a similar-enough issue that I figured it was worth mentioning.
As a note, this for whatever reason doesn't seem to be affected by having the < last, see for example this diff which shows the section link properly.
Examples available at: https://test2.wikipedia.org/wiki/T364639