Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-845

User Defined Character Replacement for the "$" Sign.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      Would be of huge help if Velocity would allow the users to define a character replacement for the "$" sign, e.g. using the velocity properties:
      http://velocity.apache.org/engine/releases/velocity-1.7/developer-guide.html#Velocity_Configuration_Keys_and_Values

      with a new one like:
      variable.sign.redefine=€

      The $ sign is a good default for many situations, but it's very bad for web stuff and JavaScript code. Escaping could be avoided by allowing the user to use something else.

      tnx.

        Attachments

          Activity

            People

            • Assignee:
              claude Claude Brisson
              Reporter:
              werne Werner Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: