PHP inside html elements cause valdiation error

Bug #742515 reported by Sergey on 2011-03-25
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nXhtml
Undecided
Unassigned

Bug Description

HTML+PHP fragment

<img src="<?php echo "i.png" ?>" />
<form action="<?php echo "i.png" ?>">
 <input type="submit" value="OK"/>
</form>

Gives error - Missing `>'

Command mumamo-alt-php-mode-tags doesn't help.

Doug Alcorn (dougalcorn) wrote :

This is also true of eruby <div id="<%= some ruby code here %>"></div>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers