Published June 11, 2026
| Version v1.1.1
Software
Open
chain simple forms / surveys into longer runs using the power of R to generate pretty feedback and complex designs https://formr.org
Authors/Creators
- 1. Wilhelm Wundt Institute of Psychology, University of Leipzig
- 2. Georg Elias Müller Institute of Psychology, University of Goettingen
Description
Fixes
- ParsedownExtra fatal error when a survey item label or run text field contains malformed HTML (e.g. a bare
<head>tag). ParsedownExtra's DOMDocument block processor (processTagRoutine) dereferences DOM nodes without null checks, crashing with a PHPError(TypeError: DOMNode::replaceChild(): Argument #1 ($node) must be of type DOMNode, null given, surfacing on some setups asCall to a member function getAttribute() on null) — not anException— so the existingcatch (Exception)guard inSurveyStudy::addItemsdid not intercept it. All Parsedowntext()call sites now go through a newparsedown_text_safe()helper (Functions.php) that catches\Throwable, stores the raw (unparsed) text, logs viaformr_log_exception, and shows the study author a warning naming the affected field. Covered sites: survey item labels, choice labels, run description/public_blurb/footer_text/privacy/tos, email body, pause text, and page body (the chained call inPage::create()was previously unguarded). Regression-tested intests/ParsedownTextSafeTest.php.
Changes
- Updated
erusev/parsedown1.7.4 → 1.8.0 anderusev/parsedown-extra0.8.1 → 0.9.0 (the February 2026 maintenance releases). Verified that the upgrade alone does not fix the DOMDocument crash above — 0.9.0 ships the same unguardedprocessTagRoutine— hence the call-site guard.
Files
rubenarslan/formr.org-v1.1.1.zip
Files
(4.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:2ff27c432a84a26df688a9163401b4d3
|
4.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/rubenarslan/formr.org/tree/v1.1.1 (URL)
Software
- Repository URL
- https://github.com/rubenarslan/formr.org