-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Testing remarks without endline separation. #5213
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,9 +60,7 @@ | |
<remarks>To be added.</remarks> | ||
<exception cref="T:System.ArgumentOutOfRangeException"> | ||
<paramref name="quality" /> is not between the minimum value of 0 and the maximum value of 11. | ||
|
||
-or- | ||
|
||
<paramref name="window" /> is not between the minimum value of 10 and the maximum value of 24. | ||
</exception> | ||
<exception cref="T:System.IO.IOException">Failed to create the <see cref="T:System.IO.Compression.BrotliEncoder" /> instance.</exception> | ||
|
@@ -201,11 +199,11 @@ | |
<returns>A number representing the maximum compressed length for the provided input size.</returns> | ||
<remarks> | ||
<format type="text/markdown"><![CDATA[ | ||
|
||
## Remarks | ||
|
||
Returns 1 if `inputSize` is 0. | ||
|
||
How would it look in the MS Docs Preview. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reconfirmed. Empty lines need to be preserved. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
If I added multiple sentences. | ||
without line separation. | ||
Would it look fine? | ||
]]></format> | ||
</remarks> | ||
<exception cref="T:System.ArgumentOutOfRangeException"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the endlines that surround an -or-` causes MS Docs to show everything into one line. The tool needs to preserve empty lines.
https://review.docs.microsoft.com/en-us/dotnet/api/system.io.compression.brotliencoder.-ctor?view=net-5.0&branch=pr-en-us-5213