Allow HTML to appear in form labels
authorKarl O. Pinc <kop@karlpinc.com>
Fri, 9 Aug 2024 17:06:58 +0000 (12:06 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Fri, 9 Aug 2024 17:06:58 +0000 (12:06 -0500)
src/pgwui_common/templates/lib.mak

index 97e2dbf191de5efe60a585ec1e4f405e9c6aa8e3..77f5588aedcad910078dcd8273f73fd6d6e770ec 100644 (file)
@@ -45,7 +45,7 @@
             if for_id is not None:
               for_attr = f'for="{for_id}"'
           %>
-          <label ${for_attr}>${capture(caller.body) | trim}:</label>
+          <label ${for_attr}>${capture(caller.body) | n,trim}:</label>
         </td>
 </%def>