-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
1.9.1
-
None
-
MOODLE_19_STABLE
I have created a field in a database activity in which people can type in a name of country. In my list template I then have the following:
<a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=[[placementcountry]]&mrt=all&ie=UTF8" target="_blank">[[placementcountry]]</a>
This creates a link to a Google Maps page with the country. This all works fine until I start searching for one of the countries. Let's search for "Morocco". This is the HTML before the search:
<a target="_blank" href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=Morocco&mrt=all&ie=UTF8">Morocco</a>
After the search Moodle highlight where it has found the search terms, breaking the link in the process (pity!):
<a highlight="" href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=<span class=">Morocco&mrt=all&ie=UTF8" target="_blank"><span class="highlight">Morocco</span></a>
I can imagine this might be quite hard to fix, but a fix would sure be nice.
Kind regards,
Hans
- will help resolve
-
MDL-81207 Search highlighting break custom links in Database activity
-
- Open
-