mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
trim fix
This commit is contained in:
parent
906596f2c5
commit
2784199219
1 changed files with 3 additions and 2 deletions
|
@ -266,8 +266,8 @@ local function get_formspec(data)
|
||||||
if def.release_notes then
|
if def.release_notes then
|
||||||
insert(hypertext, core.hypertext_escape(
|
insert(hypertext, core.hypertext_escape(
|
||||||
markup((def.release_notes
|
markup((def.release_notes
|
||||||
:gsub("<!--.-%-%->", ""
|
:gsub("<!--.-%-%->", "")
|
||||||
:trim())
|
:trim()
|
||||||
.."\n"
|
.."\n"
|
||||||
))
|
))
|
||||||
))
|
))
|
||||||
|
@ -403,3 +403,4 @@ function create_package_dialog(package)
|
||||||
data.current_tab = 1
|
data.current_tab = 1
|
||||||
return dlg
|
return dlg
|
||||||
end
|
end
|
||||||
|
м
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue