[Bug 22870] New: When adding a special character into Rancor with a macro, the special character gets removed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22870 Bug ID: 22870 Summary: When adding a special character into Rancor with a macro, the special character gets removed Change sponsored?: --- Product: Koha Version: 18.05 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: kelly@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- A library's code to insert into their records has the value of # in it. When this is added to a macro and that macro is run in the Advanced Editor, the # gets removed and does not get input into the record. 1. Create a macro to insert new 040=‡cBE# 2. Run this macro 3. The record will have the 040$c BE in the record, but Koha has dropped the # -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22870 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|When adding a special |When adding a '#' into |character into Rancor with |Rancor with a macro, the |a macro, the special |special character gets |character gets removed |removed CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> ---
From cateditor/macros/rancor.js: 238 contents = contents.replace( /#.*$/, '' );
So it's expected, what's following # is considered as a comment -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org