function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

VF: Upgrading API Version 19.0 -> 21.0

I created a number of VF pages for the object level help we are providing with our application.


I tried to upgrade the API version from 19.0 -> 21.0 and I keep getting the following error and the system does not allow me to save.  when i set the API version back to 19.0 I don't get this error.


any insight would be great!



Error: Element type "img" must be followed by either attribute specifications, ">" or "/>".

With the version > 19, Salesforces has introduced syntax checking of HTML tags. you need to have closing angle brackets for each open one. No escape or workaround :) 


You will also get this error if you are missing the space between two attributes (e.g.  id="foo"title="bar").