Mangled Hyperlinks in Reports and Websites
Posted: 07 Aug 2010 13:07
Each Repository Record offers a Website URL field, but you may enter an Internet URL in any free text field.
When using Save Report As or Create a Website any URL in a field should become a Hyperlink (except for the Text File option).
Very simple URL such as http://www.freebmd.org.uk usually work OK.
Also PDF File Reports often cope well with more complex URL.
However, three scenarios cause the Hyperlink to be mangled, especially when using Web Page (HTML) Reports and Create a Website.
URL Contains an Ampersand (&)
Any URL with an ampersand (&) character causes the Hyperlink to truncate at the & which mangles the HTML code.
Examples of such URL are:
http://www.streetmap.co.uk/map.srf?x=434059&y=386876
http://www.ukgr.dreamhosters.com/gmap.p ... -1.4894915
URL Consumes the Full-stop (.)
In the Sources section, Repository fields end with a sentence full-stop.
If the field is a URL then the full-stop follows the URL and becomes embedded in the Hyperlink.
Despite the embedded full-stop the Hyperlink often still works, but the following URL fails:
http://www.multimap.com/maps/?qs=S10+2FW
URL Splits Across End of Line
Sometimes the Hyperlink HTML code ... splits across lines and the line break appears in the Hyperlink text as a blank space.
Despite this embedded character the Hyperlink usually still works, but just looks a bit odd.
Has anyone noticed these problems, or have a workaround?
ID:4708
When using Save Report As or Create a Website any URL in a field should become a Hyperlink (except for the Text File option).
Very simple URL such as http://www.freebmd.org.uk usually work OK.
Also PDF File Reports often cope well with more complex URL.
However, three scenarios cause the Hyperlink to be mangled, especially when using Web Page (HTML) Reports and Create a Website.
URL Contains an Ampersand (&)
Any URL with an ampersand (&) character causes the Hyperlink to truncate at the & which mangles the HTML code.
Examples of such URL are:
http://www.streetmap.co.uk/map.srf?x=434059&y=386876
http://www.ukgr.dreamhosters.com/gmap.p ... -1.4894915
URL Consumes the Full-stop (.)
In the Sources section, Repository fields end with a sentence full-stop.
If the field is a URL then the full-stop follows the URL and becomes embedded in the Hyperlink.
Despite the embedded full-stop the Hyperlink often still works, but the following URL fails:
http://www.multimap.com/maps/?qs=S10+2FW
URL Splits Across End of Line
Sometimes the Hyperlink HTML code ... splits across lines and the line break appears in the Hyperlink text as a blank space.
Despite this embedded character the Hyperlink usually still works, but just looks a bit odd.
Has anyone noticed these problems, or have a workaround?
ID:4708
