Rich-text link handling by the DXA Model Extension or standalone Model Service
Configure the dxa.defaults.rich-text-xmlns-remove and dxa.defaults.rich-text-resolve properties to determine how the DXA Model Extension or standalone Model Service resolves hyperlinks contained in rich text, specifically, whether they will include file extensions. By default, they do not include an extension.
The following two properties work as a pair so that the combination of values determine how the DXA Model Extension or standalone Model Service will resolve links.
| Property | Description | Default |
|---|---|---|
dxa.defaults.rich-text-xmlns-remove | Indicates whether or not to remove the xlink tag.
| true |
dxa.defaults.rich-text-resolve | Indicates whether to resolve TCM URIs into links.
| true |
Example
The following table explains the expected behavior for each possible combination of values for an example link.
| Value of
| Value of
| Example where original link is:
|
|---|---|---|
| true | true | The |
| false | true | The |
| false | false | The link remains unchanged. Comments indicate an error. |
| true | false | This combination is not valid and no changes will occur in the link. Comments indicate an error. |