Bug 100751 - silent truncation when HTML::Template tags are used for links
Summary: silent truncation when HTML::Template tags are used for links
Status: ASSIGNED
Alias: None
Product: kimagemapeditor
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandrake RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Jan Schaefer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 17:23 UTC by mark
Modified: 2021-03-09 23:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mark 2005-03-03 17:23:34 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Mandrake RPMs
OS:                Linux

Hello,

I'm using the Perl module called 'HTML::Template' to generate dynamic links for use with this image map. By default the links look like this:

 href="<tmpl_var cfg_instance_cgi>/search_results_by_state"

Although the final result is valid HTML, clearly this is not. 

KImageMapEditor does not handle this gracefully. What happens is that the link appears to 
be changed to this:

 <tmpl_var cfg_instance_cgi

I would prefer that KImageMapEditor accept the contents of my href="" attribute, or at least give me some notice that it won't accept them. 

Simply rewriting them in a truncated way is not good. 

Thanks!

BTW, I like you provide thumbnails of each "hot spot"!

  Mark
Comment 1 Jan Schaefer 2005-11-11 22:28:35 UTC
Currently the HTML parser is hand-coded. It is a bit difficult to handle invalid cases, so I would not like to implement these by myself. I will see whether I can use an existing HTML parser instead, that is more robust against malformed HTML. 
Comment 2 Justin Zobel 2021-03-09 23:51:06 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.