mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 00:03:17 +00:00
Drawing text annotation now use the new format functions instead of executing arbitrary code.
This commit is contained in:
@@ -238,7 +238,7 @@ class IfcCsv:
|
||||
if row[index] == null:
|
||||
continue
|
||||
if not isinstance(row[index], str):
|
||||
row[index] = '"' + str(row[index]) + '"'
|
||||
row[index] = '"' + str(row[index]).replace('"', '\\"') + '"'
|
||||
row[index] = ifcopenshell.util.selector.format(format_query.replace("{{value}}", row[index]))
|
||||
|
||||
def sort_results(self, sort, attributes, include_global_id):
|
||||
|
||||
Reference in New Issue
Block a user