Fix HTML links that contain file extensions
commite9739f4be82ea11e6f411ef4776479b2f6fa6f09
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 10 Jul 2014 10:57:32 +0000 (10 13:57 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 11 Jul 2014 05:18:17 +0000 (11 07:18 +0200)
treefa92d37ed9e09d65c4a8de1c98187fbdfe2c819d
parent90f6c652660b563efeb820db29093e44796c8674
Fix HTML links that contain file extensions

- Consider '-' and '_' as part of a word when replacing links, so that
  convert-tpr and make_ndx are considered single words, and the
  extensions there are not converted into links.
- Do links.dat replacement before program links, so that the URL in the
  above program name links is not processed.

Change-Id: I0ce204d3adedc56e57c1e1cd150a63d21c442eab
src/gromacs/commandline/cmdlinehelpmodule.cpp
src/gromacs/utility/stringutil.cpp