codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Cleaning: Whitespace between adjacent XML tags is removed on code clean up

Open Xiphereal opened this issue 4 years ago • 3 comments

Environment

  • Visual Studio version: 2019 16.11.7
  • CodeMaid version: 12
  • Code language: C#

Description

Whitespace between adjacent XML tags is removed on code clean up.

Steps to recreate

  1. Write a documentation such as:
/// <summary> This summary contains adjacent XML tags <see cref=""/> <see cref=""/>. </summary>
  1. Apply code clean up.

Current behavior

Whitespace between adjacent XML tags is removed on code clean up, decreasing the readability of the documentation:

/// <summary> This summary contains adjacent XML tags <see cref=""/><see cref=""/>. </summary>

Expected behavior

Whitespace between adjacent XML tags is preserved on code clean up:

/// <summary> This summary contains adjacent XML tags <see cref=""/> <see cref=""/>. </summary>

Xiphereal avatar Dec 15 '21 16:12 Xiphereal

Thanks for reporting the issue. @w5l are you available to take a look?

codecadwallader avatar Dec 21 '21 15:12 codecadwallader

Please try to fix this as soon as possible as it causes a lot of noise in code reviews.

Suriman avatar Jan 11 '22 09:01 Suriman

Any updates?

Xiphereal avatar Feb 07 '22 18:02 Xiphereal

Hope you can take a look at this, still a relevant issue 😄

Xiphereal avatar Sep 27 '22 07:09 Xiphereal

Same problem for me.

ghost avatar Feb 10 '23 15:02 ghost