Page 1 of 1

Links created when using pound sign in notes

Posted: 23 Oct 2020, 17:11
by mushu
MantisBT v2.24.0

When I entered a note asking for feedback on a ticket, I started it like this:

Code: Select all

#1. I need the first thing
#2. I need the next thing
etc...
When the email got sent out, it contained unwanted links to Mantis tickets using those numbers after the pound sign as ID values. I think the Notes field should not create a link in the email using those numbers as ticket values.

Re: Links created when using pound sign in notes

Posted: 26 Oct 2020, 11:31
by atrol
There is a setting "MantisBT internal links (Issues and Issue Notes) " in plugin "MantisBT Formatting" where you can deactivate the processing of "#".
You could also change setting $g_bug_link_tag in config_inc.php if you don't like the character "#" for it.

Code: Select all

/**
 * Bug Linking
 * if a number follows this tag it will create a link to a bug.
 * eg. for # a link would be #45
 * eg. for bug: a link would be bug:98
 * @global string $g_bug_link_tag
 */
$g_bug_link_tag = '#';

Re: Links created when using pound sign in notes

Posted: 26 Oct 2020, 13:05
by mushu
Perfect! Thank you so much!