Page MenuHomePhabricator

Subsection headers in SF sections prevent correct content parsing
Closed, ResolvedPublic

Description

Author: bjpcaltech

Description:
When a Semantic Form contains a {{{section}}} and the user includes a subsection header (=== Subsection ===) in the content for that section, the resulting page content will not be parsed correctly when the page is edited with form, probably because the first two == of the subection header are recognized as a section header.

From a developer mailing list conversation, the code in question is likely located at lines 1415-1450 of /includes/SF_FormPrinter.php.


Version: REL1_21-branch
Severity: normal

Details

Reference
bz57332

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz57332.

Change 100421 had a related patch set uploaded by Himeshi:
Modified seperation of existing page content with sections in SF_FormPrinter.php

https://gerrit.wikimedia.org/r/100421

Change 100421 merged by jenkins-bot:
Modified seperation of existing page content with sections in SF_FormPrinter.php

https://gerrit.wikimedia.org/r/100421

Ben - I believe Himeshi's recent change fixed this problem. If possible, could you upgrade to the latest SF code, and let us know if that worked?

Marking this as fixed, since I believe the problem is now resolved.