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 #
From cateditor/macros/rancor.js: 238 contents = contents.replace( /#.*$/, '' ); So it's expected, what's following # is considered as a comment