[MAGNOLIA-6884] Add a method to HTML-encode normal text Created: 23/Nov/16 Updated: 05/Dec/16 Resolved: 28/Nov/16 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.4.10, 5.5.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Hieu Nguyen Duc | Assignee: | Hieu Nguyen Duc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5d | ||
| Original Estimate: | 0.5d | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Sprint: | Saigon 72 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
In case the output text is normal text but not node or property, we use this method to HTML-encode it instead of using deprecated FreeMarker's ?html. In other words, we can easily manage the behavior of the method in the future. |