Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-11-18 18:20:31

jimraven79
New member
From: NM
Registered: 2010-11-18
Posts: 1
Website

truncated links

Hey guys,

I need my links in Xinha to always be full and never truncated. Far as I can tell, whenever a link is detected on the same addy where Xinha is installed, it ends up looking truncated. How can i configure/change this ??

Thanks for the help in advance! (this problem has been driving me crazy!)


"There is no past but the present, no present but the future." - Michael Roland, MD [url=http://www.extremefitnessresults.com/p90x-workout-system.html]PX90[/url] | [url=http://www.extremefitnessresults.com/turbo-fire.html]Turbo Fire[/url]

Offline

#2 2010-11-18 20:04:26

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: truncated links

Hmm, I'm not sure, but maybe you could try setting your `xinha_config.stripBaseHref = false`?

http://xinha.raimundmeyer.de/JSdoc/Xinh … ipBaseHref

Offline

#3 2010-11-18 23:08:16

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: truncated links

Yes I think stripBaseHref is what you want. 

However: the handling of links in this regard can differ browser to browser.  If it were me, I'd be handling this server side (and I do), by using a regular expression search/replace to ensure that all links are correct.  Of course the old adage of not trusting aything the browser sends your server stands anyway ;-)


James Sleeman

Offline

Board footer

Powered by FluxBB