Skip to content

Commit

Permalink
Merge pull request #130 from eea/develop
Browse files Browse the repository at this point in the history
Fix link in tables for existing content
  • Loading branch information
GhitaB authored Sep 26, 2024
2 parents a552cd1 + 0631a54 commit ad16d77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion clms/addon/restapi/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __call__(self, block):
class SlateTableBlockSerializerBase(SlateBlockSerializerBase):
"""SlateBlockSerializerBase."""

order = 100
order = -100
block_type = "slateTable"

def __call__(self, block):
Expand All @@ -56,6 +56,8 @@ def __call__(self, block):
for child in children:
node_type = child.get("type")
if node_type:
if node_type == "a":
handle_links(child)
handler = getattr(self, f"handle_{node_type}", None)
if handler:
handler(child)
Expand Down
2 changes: 1 addition & 1 deletion clms/addon/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.8
11.9
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

11.9 - (2024-09-26)
---------------------------
* Change: Fix link in tables for existing content
[GhitaB]

11.8 - (2024-09-26)
---------------------------
* Change: Fix link in a table case
Expand Down

0 comments on commit ad16d77

Please sign in to comment.