[
https://issues.apache.org/jira/browse/JSPWIKI-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18138253#comment-18138253
]
ASF subversion and git services commented on JSPWIKI-1191:
----------------------------------------------------------
Commit 2fcbfec50ac604bbb51864299fc4f43f81ab924c in jspwiki's branch
refs/heads/dependabot/maven/tomcat.version-11.0.27 from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=2fcbfec50 ]
JSPWIKI-1191 Keep the base64 text of a pasted image when saving from the
WYSIWYG editor
XHtmlToWikiConfig.trimLink() decoded the src of every image as a URL, which
turned each '+' of a base64 data URL into a space and corrupted the image when
the page was saved. A data URL is now returned as it is.
> Wysiwyg editor, pasting in an image produces a data url, but renders an error
> -----------------------------------------------------------------------------
>
> Key: JSPWIKI-1191
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1191
> Project: JSPWiki
> Issue Type: Bug
> Reporter: Alex O'Ree
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.1
>
> Attachments: image-2024-03-31-12-37-49-281.png
>
>
> I'm in search of an easy way for users to put images into wiki content
> besides the attachments upload option, then manually linking them. So i tried
> to just paste in some content to the wysiwyg editor. which worked in the
> editor, however after viewing the page, i got this. note: this happens with
> markdown syntax or with the default syntax
>
> No InterWiki reference defined in properties for Wiki called "data"!
> !image-2024-03-31-12-37-49-281.png!
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)