HandleRepeatedSpaces

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class HandleRepeatedSpaces extends System.Enum

Specifies how repeated regular space characters should be handled during Markdown export.

Fields

FieldDescription
NoneAll spaces are preserved as regular space characters without any changes.
AlternateSpacesToNbspConverts sequences of two or more consecutive regular spaces by alternating between regular space characters and non-breaking space entities ( � ).
MultipleSpacesToNbspConverts sequences of two or more consecutive regular spaces by preserving the first space as a regular space character and replacing all subsequent spaces with non-breaking space entities ( � ).

None

public static final int None

All spaces are preserved as regular space characters without any changes. No transformation is applied, and multiple consecutive spaces are exported as-is.

AlternateSpacesToNbsp

public static final int AlternateSpacesToNbsp

Converts sequences of two or more consecutive regular spaces by alternating between regular space characters and non-breaking space entities ( � ). The first space is always preserved as a regular space.

MultipleSpacesToNbsp

public static final int MultipleSpacesToNbsp

Converts sequences of two or more consecutive regular spaces by preserving the first space as a regular space character and replacing all subsequent spaces with non-breaking space entities ( � ).