[bug #20073] urlization conflicts with keepspace

View: New views
2 Messages — Rating Filter:   Alert me  

[bug #20073] urlization conflicts with keepspace

by Sebastian Gerhardt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


URL:
  <http://savannah.nongnu.org/bugs/?20073>

                 Summary: urlization conflicts with keepspace
                 Project: MHonArc
            Submitted by: egmont
            Submitted on: Monday 06/04/2007 at 16:29
                Category: Resource Variables
                Severity: 3 - Normal
              Item Group: Incorrect Behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: All
            Perl Version: 5.8.8
       Component Version: 2.6.16
           Fixed Release:

    _______________________________________________________

Details:

I have an url in the middle of a line of a plain text message, e.g.:
"Visit http://foobar.com/ now!".

I'm using the mhonarc resource file form sympa-5.3 which looks like this:
...
<MIMEARGS>
text/plain; asis=us-ascii:iso-8859-1:iso-8859-2 nonfixed keepspace quote
htmlcheck maxwidth=78
...
</MIMEARGS>
...

First keepspace is applied which turns spaces to nbsp's, and later this nbsp
is not recognized as the end of the URL. Hence the whole "http://foobar.com/
now" string will be highlighted and act like a (wrong) url.

If I remove the "keepspace" keyword from the resource file, URL is
highlighted as expected.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20073>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@... with the
message text UNSUBSCRIBE MHONARC-DEV


[bug #20073] urlization conflicts with keepspace

by Sebastian Gerhardt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Update of bug #20073 (project mhonarc):

                Severity:              3 - Normal => 2 - Minor              
                  Status:                    None => Postponed              

    _______________________________________________________

Follow-up Comment #1:

[Limitation]
One workaround is to not use keepspace and nonfixed
options.

Instead, customizing the header to include a
CSS stylesheet.  In your CSS, you can modify
the rendering of <pre> to use a non-fixed font.
This should provide the visual effect you desire
and the URL matching you desire.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20073>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@... with the
message text UNSUBSCRIBE MHONARC-DEV