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

Blog hyperlink removes "target" attribute on publish

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.X
    • Fix Version/s: None
    • Component/s: Blogs
    • Labels:
    • Fix Priority:
      3

      Description

      Steps to Reproduce:
      1) Add Blogs portlet to page
      2) Add new Blogs Entry > Enter text into required fields > Add some description text ("liferay.com")
      3) Highlight text > "Link" > enter a URL and 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 blogs entry.
      6) Edit blog entry > View 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:
                chao.wang Chao Wang
                Reporter:
                spencer.woo Spencer Woo
                Participants of an Issue:
                Recent user:
                Chao Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  23 weeks, 1 day ago

                  Packages

                  Version Package