Modify a basic assumption about GNATS: > is allowed on the first line if
a space follows it.
This commit is contained in:
parent
79a11cd47c
commit
e26fab83a9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=37497
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
||||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
# $FreeBSD: www/en/cgi/GnatsPR.pm,v 1.3 2011/07/29 20:37:43 shaun Exp $
|
# $FreeBSD: www/en/cgi/GnatsPR.pm,v 1.4 2011/07/29 22:59:32 shaun Exp $
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
package GnatsPR;
|
package GnatsPR;
|
||||||
|
@ -154,7 +154,7 @@ sub Parse
|
||||||
# character on a line, except for field headers.
|
# character on a line, except for field headers.
|
||||||
# Any lines beginning with > will be shunted into
|
# Any lines beginning with > will be shunted into
|
||||||
# 'Unformatted'
|
# 'Unformatted'
|
||||||
my @fieldblobs = split /\n>/m, $$data;
|
my @fieldblobs = split /\n>(?!\s)/m, $$data;
|
||||||
|
|
||||||
# In the rare case the Unformatted field did
|
# In the rare case the Unformatted field did
|
||||||
# have some debris, be sure to assemble it back
|
# have some debris, be sure to assemble it back
|
||||||
|
|
Loading…
Reference in a new issue