Skip to content

Commit

Permalink
chg: [mkdocs] avoid the mis-rendering on the FIRST CSIRT Services Fra…
Browse files Browse the repository at this point in the history
…mework
  • Loading branch information
adulau committed Feb 6, 2025
1 parent f325b74 commit 3a67c85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/mkdocs/modules/cluster.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import validators


class Cluster:
def __init__(self, uuid, galaxy, description=None, value=None, meta=None):
self.uuid = uuid
Expand Down Expand Up @@ -98,7 +97,9 @@ def _create_associated_metadata_entry(self):
entry += f" |-----------------------------------|-----|\n"
for meta in sorted(self.meta.keys()):
if meta not in excluded_meta:
entry += f" | {meta} | {self.meta[meta].replace("\n", ". ")} |\n"
if meta == 'outcome':
self.meta[meta] = self.meta[meta].replace("\n", ".")
entry += f' | {meta} | {self.meta[meta]} |\n'
return entry

def _create_related_entry(self):
Expand Down

0 comments on commit 3a67c85

Please sign in to comment.