<< Back to previous view |
[QB-3443] HTML Fields using script code, gets converted to html
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 9.0.20 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Robin Shen | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
If you edit a html field like Configuration Description and click on source button
and then enter a script and save it seems to work fine. But if you go back to edit this script, it is converted to html. Example: ${groovy: "Testing" + "Test2";} Returns "TestingTest2 Go edit the field and change script and save it, displayed: ${groovy: "Testing" + "Test2s";} If you click source button it shows: <p>${groovy: "Testing" + "Test2s";}</p> |
Comments |
Comment by Robin Shen [ 08/Mar/20 06:38 AM ] |
When in html mode, the editor treats the whole content as html, and will decorate/escape it. There is an option in system setting to disable html editor in case scripting is used. |