From f2193307c48055e54d4d1b5eca43bf0189699d40 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 23 May 2023 15:00:59 +0200 Subject: [PATCH] Add note to text fractions Fixes #465 Fixes #1105 --- library/src/text/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs index 1fefc6cba..e86bc1689 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]