Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Froala v4.2.2 truncating <a> href values upon initial load #4815

Open
burtonrhodes opened this issue Sep 10, 2024 · 2 comments
Open

Froala v4.2.2 truncating <a> href values upon initial load #4815

burtonrhodes opened this issue Sep 10, 2024 · 2 comments

Comments

@burtonrhodes
Copy link

burtonrhodes commented Sep 10, 2024

When loading an editor with predefined html, the href value is truncated. The value should be the same as the initial html.

Steps to reproduce the problem.

Here is a jsFiddle demonstrating the problem with the latest 4.2.2
https://jsfiddle.net/burtonrhodes/yxdpoLsk/8/

You'll notice the initial text is

<p>
<a href="http://localhost:8080/afs/portal/?xactionId=139263">http://localhost:8080/afs/portal/?xactionId=139263</a>
</p>

But the editor modifies the html href value to

<p>
<a href="http://localhost:8080/afs/portal/?xacti">http://localhost:8080/afs/portal/?xactionId=139263</a>
</p>
Editor version.

4.2.2 (this does not happen in version 4.2.1)

OS.

Windows 11

Browser.

Chrome Version 128.0.6613.120 (Official Build) (64-bit)

@forum-is
Copy link

We can confirm this issue, also irrevocably breaks "src" attributes on img tags. Please fix ASAP.

@burtonrhodes
Copy link
Author

@forum-is You might consider emailing [email protected] and reference this issue as I'm not sure how often this repository is checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants