Closed (works as designed)
Project:
Drupal core
Version:
4.6.5
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2006 at 15:01 UTC
Updated:
15 Apr 2006 at 22:01 UTC
To get a graph embeeded in a drupal page and generated on the fly, I wrote something like:
// snip
echo " <img src=\"apath/createagraph.php?data=1&power=2\"> ";
where createagraph.php contain calls to jpgraph libraries to generate a graph, but the matter is that the above line is filtered out and all *&* occurences are replaced by *&* generating a mispelled url:
<img src="apath/createagraph.php?data=1&power=2">
I guess the problem should lie in filter.module but I can't go more in deep with code details.
I apologize for my bad english but I would thank all this powerful drupal community
Comments
Comment #1
Steven commentedPerhaps your post misexplained things a bit... but if the actual HTML source says
&then there is nothing wrong. This is required for HTML validation. If the HTML source says&amp;, then some double-escaping is taking place.