Skip to content

Commit

Permalink
[fc] Repository: plone.exportimport
Browse files Browse the repository at this point in the history
Branch: refs/heads/main
Date: 2025-01-30T12:53:37+01:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.exportimport@12f3434

Export the raw value of rich text fields, instead of the transformed output.

This fixes internal links in Classic UI based distributions.

Fixes plone/plone.exportimport#48

Sample difference in output:

```
&lt;     "data": "&lt;p&gt;Link to &lt;a href=\"http://nohost/Plone/news\"&gt;news&lt;/a&gt;.&lt;/p&gt;",
---
&gt;     "data": "&lt;p&gt;Link to &lt;a href=\"resolveuid/4053ffb6901342ac991afb54da15ab77\" data-linktype=\"internal\" data-val=\"4053ffb6901342ac991afb54da15ab77\"&gt;news&lt;/a&gt;.&lt;/p&gt;",
```

Files changed:
A news/48.bugfix
M src/plone/exportimport/serializers/configure.zcml
M src/plone/exportimport/serializers/fields.py
Repository: plone.exportimport

Branch: refs/heads/main
Date: 2025-01-31T09:11:55+01:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.exportimport@ba480e3

Merge pull request #49 from plone/export-richtext-raw

Export the raw value of rich text fields

Files changed:
A news/48.bugfix
M src/plone/exportimport/serializers/configure.zcml
M src/plone/exportimport/serializers/fields.py
  • Loading branch information
mauritsvanrees committed Jan 31, 2025
1 parent 6ec1fdb commit fba3577
Showing 1 changed file with 25 additions and 232 deletions.
Loading

0 comments on commit fba3577

Please sign in to comment.