esmero / archipelago_subtheme

Bare bone Archipelago Bootstrap4 Theme
0 stars 5 forks source link

Double encoded values in <button> elements #11

Closed DiegoPino closed 5 years ago

DiegoPino commented 5 years ago

What is the issue?

Bootstrap barrio, our base bootstrap 4 theme, swaps HTML input elements for button elements. Sadly there is double encoding happening when outputting the attributes.value generating things like &gt; to be displayed instead of a >

How to fix?

Took me a whole (gosh.. theming) but i got it. Pull coming this way

DiegoPino commented 5 years ago

This problems appears more clearly in multi step webforms like in the Oral History Task Force Archipelago repository.

DiegoPino commented 5 years ago

Solved via https://github.com/esmero/archipelago_subtheme/commit/facd1e355cf16a5512945ed320615661ad0f0445