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

html markup in translation values #54

Open
codeho opened this issue Apr 25, 2014 · 1 comment
Open

html markup in translation values #54

codeho opened this issue Apr 25, 2014 · 1 comment

Comments

@codeho
Copy link

codeho commented Apr 25, 2014

Hi,
I've noticed that the html will be stripped in the update function, which leads to strings translating the html tags into &gt..stuff..

since i will need html to be used in there, i removed the strips, but it seems that
jeditable pulls the value from the html when clicking to edit the box, and therefor also 'strips' the html.

there is a way with jeditable that it won't do that but for that it will need a load url to load the value via ajax.
is anyone working on something like that already?

thanks
T

@codeho
Copy link
Author

codeho commented Apr 25, 2014

Actually, i found the solution to this.
besides removing those strips, one has to change
self.revert = $(self).text();
in jquery.jeditable.js

then it'll accept html...

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

1 participant