Skip to content

Commit

Permalink
doc: move ":nodoc:" onto the same line as the constant
Browse files Browse the repository at this point in the history
so that the constants following are not also dropped.
  • Loading branch information
flavorjones committed Feb 25, 2025
1 parent 907cd2f commit 11a0139
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/nokogiri/xml/parse_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,8 @@ class ParseOptions
# Remove blank nodes. Off by default.
NOBLANKS = 1 << 8

# :nodoc:
# Use the SAX1 interface internally. Off by default.
SAX1 = 1 << 9
SAX1 = 1 << 9 # :nodoc:

# Implement XInclude substitution. Off by default.
XINCLUDE = 1 << 10
Expand All @@ -293,9 +292,8 @@ class ParseOptions
# ⚠ <b>It is UNSAFE to unset this option</b> when parsing untrusted documents.
NONET = 1 << 11

# :nodoc:
# Do not reuse the context dictionary. Off by default.
NODICT = 1 << 12
NODICT = 1 << 12 # :nodoc:

# Remove redundant namespaces declarations. Off by default.
NSCLEAN = 1 << 13
Expand Down

0 comments on commit 11a0139

Please sign in to comment.