mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Clarify behaviour of core.hypertext_escape (#15464)
This commit is contained in:
		@@ -6699,6 +6699,9 @@ Formspec
 | 
			
		||||
* `core.hypertext_escape(string)`: returns a string
 | 
			
		||||
    * escapes the characters "\", "<", and ">" to show text in a hypertext element.
 | 
			
		||||
    * not safe for use with tag attributes.
 | 
			
		||||
    * this function does not do formspec escaping, you will likely need to do
 | 
			
		||||
      `core.formspec_escape(core.hypertext_escape(string))` if the hypertext is
 | 
			
		||||
      not already being formspec escaped.
 | 
			
		||||
* `core.explode_table_event(string)`: returns a table
 | 
			
		||||
    * returns e.g. `{type="CHG", row=1, column=2}`
 | 
			
		||||
    * `type` is one of:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user