public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
From: jfunk@ez2get.com
To: gnats-gnats@sourceware.cygnus.com
Subject: gnatsweb/194: Audit-Trail word-wrap
Date: Thu, 17 May 2001 19:54:00 -0000	[thread overview]
Message-ID: <20010518025233.28719.qmail@sourceware.cygnus.com> (raw)

>Number:         194
>Category:       gnatsweb
>Synopsis:       Audit-Trail word-wrap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 19:54:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jason Funk
>Release:        2.7
>Organization:
>Environment:
Linux
>Description:
On my browser the Audit-Trail (enclosed in a PRE block) would not word-wrap.  This is hard to read if you have a long -Why line.  I hacked a solution (see Fix).  Don't know if you have this fixed in 2.8.
>How-To-Repeat:

>Fix:
  # Massive hack on my part to cause Why text to be word-wrapped.
  # Word-wrapping is not required for PRE blocks.
  # Originally was:
  # print "<h3>Audit Trail:</h3>\n",
  #   $q->pre($q->escapeHTML($fields{'Audit-Trail'}));
  print "<h3>Audit Trail:</h3>\n";
  my $lines = $q->escapeHTML($fields{'Audit-Trail'});
  $lines =~ s/    /&nbsp;&nbsp;&nbsp;&nbsp;/gm;
  $lines =~ s/$/<br>/gm;
  $lines =~ s/<br>$//; # previous substitution added one too many <br>'s
  print $q->tt($lines);
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-05-17 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-17 19:54 jfunk [this message]
2001-08-16  1:00 yngves
2001-08-19 14:58 yngves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010518025233.28719.qmail@sourceware.cygnus.com \
    --to=jfunk@ez2get.com \
    --cc=gnats-gnats@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).