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

Calendar hyperlink removes "target" attribute on publish

    Details

      Description

      Steps to Reproduce:
      1) Add Calendar portlet to page
      2) Click Add Event > Enter all required fields > Add some description text ("liferay.com")
      3) Highlight some text > "Link" > enter a URL > Target tab select New Window (_blank)
      4) View the HTML source – observe the target attribute on the <a href>

      <a href="http://www.liferay.com" target="_blank">Liferay.com</a>

      5) Publish the calendar entry.
      6) View the HTML source again

      Expected Results:
      On subsequent review of the Description’s source code, the HTML source should be the same as before

      Actual Results:
      On subsequent review of the Description’s source code, the target=”_blank” parameter is no longer present

      Branch: Reproduced (eb2bd419af36efd503d65dc13e1af5d778d264f8)
      Master: Not Reproduced (758f055954410ca7c1d8ba46b18fdd28ea9c611e)

      Notes:
      This behavior occurs with the other Target options, as well (i.e., <popup window>, Topmost Window, Parent Window, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer.woo Spencer Woo
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Spencer Woo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 24 weeks ago

                  Packages

                  Version Package
                  7.0.X