[Bug 37232] New: Quotation mark in title does not show correctly in page title
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37232 Bug ID: 37232 Summary: Quotation mark in title does not show correctly in page title Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: januszop@gmail.com QA Contact: testopia@bugs.koha-community.org CC: katrin.fischer@bsz-bw.de Depends on: 33911 If a title of a book starts with (or contains) a quotation mark, it will be displayed in a wrong way in the browser page title (in librarian interface). This is because the title string, after bug 33911, is being | html filtered twice: for the first time inside biblio-title-head.inc, and then as the result of tx MACRO: " | html ==> " | html ==> " To see the problem, search in ktd, standard data, for "Páipéir bhána agus páipéir bhreaca." In title of the page you will see: Details for "Páipéir bhána... instead: Details for "Páipéir bhána... Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33911 [Bug 33911] Improve translation of title tags: Catalog, basket, and lists -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37232 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- It would probably make the qa tool unhappy, but we could just remove the second html filter: [% tx("Details for {title}", { title = title_in_title }) %] Am I missing a danger here? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37232 --- Comment #2 from Janusz Kaczmarek <januszop@gmail.com> --- (In reply to Owen Leonard from comment #1)
Am I missing a danger here?
This is exactly the question I was asking myself. Is it possible that tx introduces some dangerous characters? No idea... -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org