← Back to team overview

mahara-contributors team mailing list archive

[Bug 1607133] [NEW] Quotation marks in a page titled render as "" " if the page is in a collection

 

Public bug reported:

If a page is in a collection, quotation marks in its title get double-
HTML-escaped when you view the page in display mode. See screenshot.

To replicate:

1. Create a page with one or more quotation marks (") in its title.
2. Create a collection.
3. Add the page to the collection.
4. View the page in display mode.

Expected result: The quotation mark in the page title is rendered as a quotation mark (")
Actual result: The quotation mark in the page title is rendered as """

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.10
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.04
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.10
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Attachment added: "This page has a "quote" in its title. - Mahara - Mozilla Firefox_124.png"
   https://bugs.launchpad.net/bugs/1607133/+attachment/4708344/+files/This%20page%20has%20a%20%22quote%22%20in%20its%20title.%20-%20Mahara%20-%20Mozilla%20Firefox_124.png

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Also affects: mahara/16.04
   Importance: Undecided
       Status: New

** Also affects: mahara/16.10
   Importance: High
     Assignee: Aaron Wells (u-aaronw)
       Status: In Progress

** Changed in: mahara/16.04
    Milestone: None => 16.04.3

** Changed in: mahara/15.10
    Milestone: None => 15.10.5

** Changed in: mahara/15.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/16.04
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/16.04
   Importance: Undecided => High

** Changed in: mahara/15.10
   Importance: Undecided => High

** Changed in: mahara/16.04
       Status: New => In Progress

** Changed in: mahara/15.10
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1607133

Title:
  Quotation marks in a page titled render as """ if the page is in
  a collection

Status in Mahara:
  In Progress
Status in Mahara 15.10 series:
  In Progress
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  If a page is in a collection, quotation marks in its title get double-
  HTML-escaped when you view the page in display mode. See screenshot.

  To replicate:

  1. Create a page with one or more quotation marks (") in its title.
  2. Create a collection.
  3. Add the page to the collection.
  4. View the page in display mode.

  Expected result: The quotation mark in the page title is rendered as a quotation mark (")
  Actual result: The quotation mark in the page title is rendered as """

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1607133/+subscriptions


Follow ups