On Nov 9, 2006, at 03:04 , Jason Wan/ICILSZX wrote:

Hi Gregory,
I am afraid your answer is now correct because I tried your code and nothing changed.

How exactly did you try it ?



Here I give out my answer, hope it helps.
Go to templates/samples/paragraphs and edit link.jsp:

At line 28, change "if (html.indexOf("://")==-1)" to "if (link.indexOf("://")==-1)".

At line 32, change "html.append(link+"\" target=\"_blank\">")" to"html.append("\" target=\"_blank\">")"

The external link will be shown correctly now.

Which is in essence what I did. Now if you want to avoid headaches to everyone, try the following from command line:
svn diff > mydiff.patch
(any decent editor with svn support will do that for you, too)

Cheers,

greg

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to