We have moved to GitHub Issues
Created by Shannon Deminick 06 May 2015, 07:38:48 Updated by Shannon Deminick 22 Mar 2017, 05:11:38
Relates to: U4-5480
When inserting an image in richtext editor Umbraco returns the something like this below using media id as value in the rel attribute.
however when I validate the page using http://validator.w3.org/ it doesn't seem to like the id and expect an absolute url:
Error Line 79, Column 249: Bad value 1113 for attribute rel on element img: The string 1113 is not an absolute URL. …ght=67px" alt="Umbraco CMS" rel="1113"><a href="http://umbraco.com"… Syntax of absolute URL: An absolute URL. For example: http://example.org/hello, but not /hello. Spaces should be escaped as %20.
In v8, we need to change this to a data- html attribute.
I am marking this fixed because we are now using UDIs for local links and references in the RTE.
It will continue to work with any existing INT found in the markup but when new images or links are selected they will be stored using UDIs.
There will be data-udi instead of both rel or data-id for images
Backwards Compatible: False
Affected versions: 7.0.0, 7.1.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.1, 7.2.0, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.3.0, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.2.1, 7.2.2, 7.2.3, 7.2.4
Due in version: 7.6.0