mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Fix bullet point list formatting
- In HTML mode the `-` doesn't get converted into nice bullet point list
This commit is contained in:
parent
4848d95dbc
commit
3d38ddef9f
1 changed files with 5 additions and 6 deletions
|
|
@ -69,14 +69,13 @@ class ValidateTransformZero(pyblish.api.Validator,
|
|||
return
|
||||
invalid = self.get_invalid(instance)
|
||||
if invalid:
|
||||
|
||||
names = "<br>".join(
|
||||
" - {}".format(node) for node in invalid
|
||||
names = "\n".join(
|
||||
"- {}".format(node) for node in invalid
|
||||
)
|
||||
|
||||
raise PublishValidationError(
|
||||
title="Transform Zero",
|
||||
message="The model publish allows no transformations. You must"
|
||||
" <b>freeze transformations</b> to continue.<br><br>"
|
||||
"Nodes found with transform values: "
|
||||
message="The model publish allows no transformations. "
|
||||
"You must **freeze transformations** to continue.\n\n"
|
||||
"Nodes found with transform values:\n"
|
||||
"{0}".format(names))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue