Links created when using pound sign in notes

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mushu
Posts: 201
Joined: 04 Jan 2017, 17:41

Links created when using pound sign in notes

Post 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.
atrol
Site Admin
Posts: 7926
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Links created when using pound sign in notes

Post 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 = '#';
Please use Search before posting and read the Manual
mushu
Posts: 201
Joined: 04 Jan 2017, 17:41

Re: Links created when using pound sign in notes

Post by mushu »

Perfect! Thank you so much!
Post Reply