[GRASS-dev] [GRASS GIS] #2087: grass64 man page: missing words
GRASS GIS
trac at osgeo.org
Tue Apr 22 04:41:34 PDT 2014
#2087: grass64 man page: missing words
------------------------+---------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.4
Component: Docs | Version: 6.4.3
Keywords: g.html2man | Platform: Linux
Cpu: All |
------------------------+---------------------------------------------------
Comment(by mlennert):
Replying to [comment:3 mlennert]:
> The problem seems to be in the function DoLine, lines 136ff:
>
>
> {{{
> &DoEscape($_);
> &DoPara($_);
> if (! $preformat) {
> if (m/^$/) {return 0};
> s#^[ \t]*##;
> s#<[^>]*>##g;
> }}}
>
> DoEscape is called first, which replaces the < and > by the
respective symbols, and then, in the last line of DoLine, these symbols
and everything between them is replace by an empty string. Commenting out
the last line solves the problem for grass6.html, but I don't know what
other effects this has.
It leaves in a series of HTML tags. So the art will be to erase all these
tags, without erasing the <> around the variable names. This said, do we
really need those ?
Moritz
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2087#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list