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

[Bugs] Prevent Autotags from being interpreted when they appear in JavaScript #448

Closed
mystralkk opened this issue Jan 6, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@mystralkk
Copy link
Member

Reported by @eSilverStrike on 20 Mar 2011 15:28

Version: 1.8.0

Description:
If an autotag appears in JavaScript as a description or label for something (the Configuration Search suffers from this problem) it will always be replaced.

Autotags should not be replaced if they are found in JavaScript. This problem is simlar to the one where unused template variables are replaced in JavaScript code.

Mantis Bugtracker #1293

@mystralkk mystralkk added this to the Future milestone Jan 6, 2016
@mystralkk mystralkk added the minor label Jan 6, 2016
@mystralkk
Copy link
Member Author

Related to #325

@mystralkk
Copy link
Member Author

I added GLText::protectJavascript and GLText::unprotectJavascript methods to fix this issue (change set 849d33a). I hope these methods can be used to better handle issue #325, but I am not sure.

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

No branches or pull requests

1 participant