summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/src/text/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs
index 1fefc6cb..e86bc168 100644
--- a/library/src/text/mod.rs
+++ b/library/src/text/mod.rs
@@ -452,6 +452,10 @@ pub struct TextElem {
/// Whether to turn numbers into fractions. Setting this to `{true}`
/// enables the OpenType `frac` font feature.
///
+ /// It is not advisable to enable this property globally as it will mess
+ /// with all appearances of numbers after a slash (e.g., in URLs). Instead,
+ /// enable it locally when you want a fraction.
+ ///
/// ```example
/// 1/2 \
/// #text(fractions: true)[1/2]