Skip to content

Commit cea6796

Browse files
committed
Remove <br/> in doc comments in BreakLineOn
1 parent 901bfd5 commit cea6796

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

crates/bevy_text/src/text.rs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,17 @@ impl Default for TextStyle {
178178
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Reflect, Serialize, Deserialize)]
179179
#[reflect(Serialize, Deserialize)]
180180
pub enum BreakLineOn {
181-
/// Uses the [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).<br/>
182-
/// Lines will be broken up at the nearest suitable word boundary, usually a space.<br/>
183-
/// This behaviour suits most cases, as it keeps words intact across linebreaks.<br/>
181+
/// Uses the [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
182+
///
183+
/// Lines will be broken up at the nearest suitable word boundary, usually a space.
184+
///
185+
/// This behaviour suits most cases, as it keeps words intact across linebreaks.
184186
WordBoundary,
185-
/// Lines will be broken without discrimination on any character that would leave bounds.<br/>
186-
/// This is closer to the behaviour one might expect from text in a terminal. <br/>
187-
/// However it may lead to words being broken up across linebreaks<br />
187+
/// Lines will be broken without discrimination on any character that would leave bounds.
188+
///
189+
/// This is closer to the behaviour one might expect from text in a terminal.
190+
///
191+
/// However it may lead to words being broken up across linebreaks
188192
AnyCharacter,
189193
}
190194

0 commit comments

Comments
 (0)