Skip to content

Commit 9953145

Browse files
authoredMar 28, 2020
Formspec: Mark hypertext and markup language as unstable
1 parent 13b2285 commit 9953145

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
 

Diff for: ‎doc/lua_api.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -2255,9 +2255,10 @@ Elements
22552255

22562256
### `hypertext[<X>,<Y>;<W>,<H>;<name>;<text>]`
22572257
* Displays a static formatted text with hyperlinks.
2258+
* **Note**: This element is currently unstable and subject to change.
22582259
* `x`, `y`, `w` and `h` work as per field
22592260
* `name` is the name of the field as returned in fields to `on_receive_fields` in case of action in text.
2260-
* `text` is the formatted text using `markup language` described below.
2261+
* `text` is the formatted text using `Markup Language` described below.
22612262

22622263
### `vertlabel[<X>,<Y>;<label>]`
22632264
* Textual label drawn vertically
@@ -2643,11 +2644,12 @@ Some types may inherit styles from parent types.
26432644
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
26442645
* textcolor - color. Default white.
26452646

2646-
Markup language
2647+
Markup Language
26472648
---------------
26482649

2649-
Markup language used in `hypertext[]` elements uses tag that look like HTML tags. Some
2650-
tags can enclose text, they open with `<tagname>` and close with `</tagname>`.
2650+
Markup language used in `hypertext[]` elements uses tags that look like HTML tags.
2651+
The markup language is currently unstable and subject to change. Use with caution.
2652+
Some tags can enclose text, they open with `<tagname>` and close with `</tagname>`.
26512653
Tags can have attributes, in that case, attributes are in the opening tag in
26522654
form of a key/value separated with equal signs. Attribute values should not be quoted.
26532655

0 commit comments

Comments
 (0)
Please sign in to comment.