#1452 util.interpolation: No way to have raw value with fallback

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Type-Enhancement
  • Status-Fixed
  • Priority-Medium
  • Milestone-0.11
  1. Zash on

    It is currently not possible to have a template like {html!?<p>{plain}} Where the `html` value would be inserted raw but a `plain` value would have the default escaping.

  2. Zash on

    I think this can be added to the stable branch without breaking anything.

    Changes
    • tags Milestone-0.11 Status-Started
    • owner Zash
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/3852fc91b2fc

    Changes
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.