WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Code wrapping

bkraul edited this page Oct 29, 2015 · 1 revision

By default, mantis will break up and wrap long lines of pre-formatted text. This causes the syntax highlighting plugin to not properly show the correct coloring, which is more apparent when dealing with comment lines. In order to correct this behavior, the global setting wrap_in_preformatted_text must be set.

You can do so by going to Manage -> Manage Configuration (in 1.3, choose Configuration Report), and adding the variable for the desired user (or all users), and project (or all projects), with type default, with a value of 0.

Clone this wiki locally