Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($interpolate): always unescape escaped interpolation markers #14199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 8, 2016

  1. fix($interpolate): always unescape escaped interpolation markers

    Previously, whenever `mustHaveExpression` was true (e.g. when compiling a text node),
    `$interpolate` would not unescape the escaped interpolation markers if there were no actual
    interpolation expressions in the same string.
    This commit fixes the problem, by always unescaping the escaped markers (if any).
    
    Due to always checking for the presence of escaped interpolation markers, there is a slight
    performance hit.
    
    Fixes angular#14196
    gkalpak committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    a4c3339 View commit details
    Browse the repository at this point in the history