Open arlosi opened 7 years ago
DocFX Version Used: 2.21.1
Steps to Reproduce:
Create C# file with nested regions such as:
#region OUTER public class Foo{ #region INNER // hello #endregion } #endregion
Import the cshrap into markdown using the DFM syntax, selecting the outer region. [!code-csharp[Main](testfile.cs#OUTER)]
[!code-csharp[Main](testfile.cs#OUTER)]
Expected Behavior: Contents of the OUTER region are displayed.
OUTER
public class Foo{ #region INNER // hello #endregion }
Actual Behavior: The INNER region tags (both start and end) are dropped.
INNER
public class Foo{ //hello }
Including the whole file, or including the range with line numbers works as expected (regions are not dropped).
following lines should remove:
// <name> // </name>
following lines should not remove:
#region name #engregion
DocFX Version Used: 2.21.1
Steps to Reproduce:
Create C# file with nested regions such as:
Import the cshrap into markdown using the DFM syntax, selecting the outer region.
[!code-csharp[Main](testfile.cs#OUTER)]
Expected Behavior: Contents of the
OUTER
region are displayed.Actual Behavior: The
INNER
region tags (both start and end) are dropped.Including the whole file, or including the range with line numbers works as expected (regions are not dropped).