Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17149

velocity - add <p> tag but shouldn't

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 12.1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Medium
    • Similar issues:

      Description

      When use code

      {{velocity}}
      #if($value.toString().contains("oidc.user."))
        -
      #else
        $value
      #end
      {{/velocity}}

      <p> tag is added and looks bad in user directory.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              Rozpalacz Pablo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: