diff --git a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java
index 9296197e51..5b0b572aba 100644
--- a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java
+++ b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java
@@ -134,20 +134,21 @@ public final class WebvttCssStyle {
/**
* Returns a value in a score system compliant with the CSS Specificity rules.
*
- * @see CSS Cascading
- *
The score works as follows:
- *
- * - Id match adds 0x40000000 to the score.
- *
- Each class and voice match adds 4 to the score.
- *
- Tag matching adds 2 to the score.
- *
- Universal selector matching scores 1.
- *
+ * The score works as follows:
+ *
+ *
+ * - Id match adds 0x40000000 to the score.
+ *
- Each class and voice match adds 4 to the score.
+ *
- Tag matching adds 2 to the score.
+ *
- Universal selector matching scores 1.
+ *
*
* @param id The id of the cue if present, {@code null} otherwise.
* @param tag Name of the tag, {@code null} if it refers to the entire cue.
* @param classes An array containing the classes the tag belongs to. Must not be null.
* @param voice Annotated voice if present, {@code null} otherwise.
* @return The score of the match, zero if there is no match.
+ * @see CSS Cascading
*/
public int getSpecificityScore(
@Nullable String id, @Nullable String tag, Set classes, @Nullable String voice) {