Skip to content

Remove stray double-quote from simple-layout wrapper div in File, Group and Password inside a MultiField - #213

Merged
flangfeldt merged 1 commit into
validformbuilder:masterfrom
rvanbaalen:fix/issue-205
Sep 13, 2026
Merged

flangfeldt merged 1 commit into
validformbuilder:masterfrom
rvanbaalen:fix/issue-205

Conversation

@rvanbaalen

@rvanbaalen rvanbaalen commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Closes #205

What changed

File, Group and Password rendered <div class="vf__multifielditem""> (extra ") in the MultiField simple-layout branch. The stray \" is removed in all three. No other occurrence exists in classes/.

To verify

  1. Check out fix/issue-205
  2. Run vendor/bin/phpunit --filter WellFormed
  3. Expect 3 tests passing. Revert classes/ValidFormBuilder/{File,Group,Password}.php to see them fail.

Tests

  • New: FileTest::toHtmlSimpleLayoutWrapperDivIsWellFormed
  • New: GroupTest::toHtmlSimpleLayoutWrapperDivIsWellFormed
  • New: PasswordTest::simpleLayoutWrapperDivIsWellFormed
  • Removed: the "KNOWN BUG" note in PasswordTest and its weak assertStringContainsString("\">\n") check, which would still pass after the fix.

Full suite: 955 tests green on PHP 8.2, 8.3, 8.4.

@rvanbaalen rvanbaalen changed the title Remove stray double-quote from simple-layout wrapper div in File, Group and Password Remove stray double-quote from File, Group and Password wrapper div inside a MultiField Sep 11, 2026
@rvanbaalen rvanbaalen changed the title Remove stray double-quote from File, Group and Password wrapper div inside a MultiField Remove stray double-quote from simple-layout wrapper div in File, Group and Password inside a MultiField Sep 11, 2026
@rvanbaalen rvanbaalen self-assigned this Sep 11, 2026
File, Group and Password emitted <div class="...""> in their MultiField (simple-layout) branch. Adds a regression test per class. Closes validformbuilder#205.
@flangfeldt
flangfeldt merged commit c476fbd into validformbuilder:master Sep 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stray double-quote in simple-layout div tag (File, Group, Password)

2 participants