tricc-oo 1.4.9__tar.gz → 1.4.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/PKG-INFO +1 -1
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/pyproject.toml +1 -1
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/utils.py +8 -12
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo.egg-info/PKG-INFO +1 -1
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/LICENSE +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/README.md +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/setup.cfg +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tests/build.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tests/test_cql.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tests/to_ocl.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/codesystem_to_ocl.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/cql/cqlLexer.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/cql/cqlListener.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/cql/cqlParser.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/cql/cqlVisitor.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/cql_to_operation.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/datadictionnary.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/drawio_type_map.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/tricc_to_xls_form.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/converters/xml_to_tricc.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/base.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/calculate.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/lang.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/ocl.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/ordered_set.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/models/tricc.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/parsers/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/parsers/xml.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/serializers/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/serializers/planuml.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/serializers/xls_form.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/input/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/input/base_input_strategy.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/input/drawio.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/base_output_strategy.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/spice.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/xls_form.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/xlsform_cdss.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/xlsform_cht.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/strategies/output/xlsform_cht_hf.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/visitors/__init__.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/visitors/tricc.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo/visitors/xform_pd.py +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo.egg-info/SOURCES.txt +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo.egg-info/dependency_links.txt +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo.egg-info/requires.txt +0 -0
- {tricc_oo-1.4.9 → tricc_oo-1.4.11}/tricc_oo.egg-info/top_level.txt +0 -0
|
@@ -49,17 +49,13 @@ def get_rand_name(name=None, length=8):
|
|
|
49
49
|
|
|
50
50
|
# the soup.text strips off the html formatting also
|
|
51
51
|
def remove_html(string):
|
|
52
|
-
|
|
52
|
+
text = md(
|
|
53
|
+
string,
|
|
54
|
+
strip=["img", "table", "a"],
|
|
55
|
+
strong_em_symbol="*",
|
|
56
|
+
escape_underscores=False,
|
|
57
|
+
escape_asterisks=False,
|
|
58
|
+
bullets=["-", "*"],
|
|
59
|
+
)
|
|
53
60
|
|
|
54
|
-
def replace_placeholders(match):
|
|
55
|
-
key = f"__PLACEHOLDER_{len(placeholders)}__"
|
|
56
|
-
placeholders[key] = match.group(0)
|
|
57
|
-
return key
|
|
58
|
-
|
|
59
|
-
protected_text = re.sub(r"\${.*?\}", replace_placeholders, string)
|
|
60
|
-
|
|
61
|
-
text = md(protected_text, strip=["img", "table", "a"])
|
|
62
|
-
|
|
63
|
-
for key, original in placeholders.items():
|
|
64
|
-
text = text.replace(key, original)
|
|
65
61
|
return text
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|