[MAGNOLIA-7361] Be able to convert multiple links in one <img> tag Created: 20/Aug/18 Updated: 29/Jul/19 Resolved: 23/Jul/19 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.6, 5.7 |
| Fix Version/s: | 5.6.11, 5.7.5, 6.1.1 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Rishab Dhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 1h | ||
| Time Spent: | 1.25h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Patch included: |
Yes
|
||||||||
| 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)
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | Support | ||||||||
| Sprint: | Release 5.7.4 & LICMGMT, UI Framework 2 | ||||||||
| Story Points: | 5 | ||||||||
| Description |
|
There can be scenarios where LinkUtil needs to be able handle more than one link conversion in a single <img> tag: Consider the following: <img alt="promo" src="test" data-lazy="[${link:{uuid:{db52dd24-7d59-472b-bd53-c75f78849840},repository:{dam},path:{/destinations/south-central-america.png}}}, (default)],[${link:{uuid:{baa86f2d-b1c6-413e-9879-bc2b166f9f1d},repository:{dam},path:{/destinations/polar.png}}}, (medium)], [${link:{uuid:{61c6d945-e7aa-4947-98d4-fae2d0d2c9e6},repository:{dam},path:{/destinations/north-america.png}}}, (large)]" /> The property data-lazy has 3 links. |