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

Submitted by:  Egmont Koblinger <egmont>
Submitted on:  Mon 04 Jun 2007 04:29:28 PM UTC  
 
Category: Resource VariablesSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Behavior
Status: Known LimitationPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: AllPerl Version: 5.8.8
Component Version: 2.6.16Fixed 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Jan 2011 06:03:10 AM UTCehoodPriority5 - Normal=>3 - Low
      StatusPostponed=>Known Limitation
      Open/ClosedOpen=>Closed
      Fixed Release=>N/A
    Mon 04 May 2009 12:17:27 AM UTCehoodSeverity3 - Normal=>2 - Minor
      StatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup1