[Koha-bugs] [Bug 22870] When adding a '#' into Rancor with a macro, the special character gets removed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 10 20:10:48 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22870

Jonathan Druart <jonathan.druart at 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 at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at 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.


More information about the Koha-bugs mailing list