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

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.11
  • Status-Fixed
  • Type-Enhancement
  • Priority-Medium
  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
    • owner Zash
    • tags Milestone-0.11 Status-Started
  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.