Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-58752

Use StringUtil.trim(s) instead of String.trim(), to trim ideographic space

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0 Alpha 1
    • Fix Version/s: None
    • Component/s: Accessibility, WCM
    • Labels:
      None
    • Fix Priority:
      3

      Description

      We should use StringUtil.trim(s) instead of String.trim(), to trim ideographic space.

      Steps:
      1) go to site admin -> content -> add a basic web content.
      2) input title, type " this is title " ( there is a ideographic space in front of the title)
      3) save

      Expect result: title is: "this is title"
      Actual result: title is: " this is title "

        Attachments

          Activity

            People

            • Assignee:
              julio.camarero Julio Camarero (Inactive)
              Reporter:
              bejond.shao Bejond Shao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 3 weeks, 2 days ago