bugMHonArc - Bugs: bug #20073, urlization conflicts with keepspace

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20073: urlization conflicts with keepspace

Submitter:  Egmont Koblinger <egmont>
Submitted:  Mon 04 Jun 2007 04:29:28 PM UTC
   
 
Category:  Resource Variables Severity:  2 - Minor
Priority:  3 - Low Item Group:  Incorrect Behavior
Status:  Known Limitation Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  All Perl Version:  5.8.8
Component Version:  2.6.16 Fixed Release:  N/A

Mon 03 Jan 2011 06:03:10 AM UTC, comment #2: 

I'm closing this.  I do not see this getting fixed via
code changes, and a CSS-based solution exists to get
desired effect.

Earl Hood <ehood>
Group administrator
Mon 04 May 2009 12:17:27 AM UTC, 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.

Earl Hood <ehood>
Group administrator
Mon 04 Jun 2007 04:29:28 PM UTC, original submission:  

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.

Egmont Koblinger <egmont>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ehood (Posted a comment)
  • -email is unavailable- added by egmont (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-03 ehood Priority5 - Normal 3 - Low
        StatusPostponed Known Limitation
        Open/ClosedOpen Closed
        Fixed Release N/A
    2009-05-04 ehood Severity3 - Normal 2 - Minor
        StatusNone Postponed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code