-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.1
-
None
When outputting the content from a fckEdit control with <cms:out>, the link and image paths are made relative by the taglib. This works ok when accessing the page via a URL like "/foo.html" or "/foo", but when accessing the page via a URL like "/foo/" (with the ending slash) the relative image path results in a broken image.
To fix in my local environment, I adapted the code from info.magnolia.cms.gui.dialog.DialogFckEdit.convertToView(String), which makes the href and img paths absolute for the fckEdit window, for info.magnolia.cms.taglibs.Out, so that image paths are made absolute when outputting the content with <cms:out>.
Acceptance criteria