autocorrect strikethrough with dashes

Hi,

By accident I discovered that typing dashes in a certain way, causes
strike through.

For exmaple type
  this is a -test with two dashes-
Immediately after the second dash the text 'test with two dashes' will
be strikethrough.

This behaviour doesn't change with disabling Tools > AutoCorrect >
AutoCorrect Options > Options .. Replace Dashes.
It does stop when AutoCorrect While Typing is turned of.

Anyone more info?
By the way: I see this in master 5.4, not in 5.3.

Ciao,
Cor

Cor Nouws wrote

...
For exmaple type
  this is a -test with two dashes-
Immediately after the second dash the text 'test with two dashes' will
be strikethrough.

This behaviour doesn't change with disabling Tools > AutoCorrect >
AutoCorrect Options > Options .. Replace Dashes.
It does stop when AutoCorrect While Typing is turned of.

Anyone more info?
By the way: I see this in master 5.4, not in 5.3.

Introduced with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=6bfe94a631b5c5029a1f96a52b000d25e33bad4a
adding strikethrough with "-", and italic with "/" bracketing.

But the framework had been around for some time where bold with "*", and
underline with "_" bracketing.

Unfortunately, addition of the "-" for bracket has reintroduced issue of
tdf#83037 <https://bugs.documentfoundation.org/show_bug.cgi?id=83037> for
autocorrect handling of "<-->"

Hi Cor,

Cor Nouws schrieb:

> By the way: I see this in master 5.4, not in 5.3.

It is https://cgit.freedesktop.org/libreoffice/core/commit/?id=6bfe94a631b5c5029a1f96a52b000d25e33bad4a

Kind regards
Regina

Hi Cor,

it is the AutoCorrect option "Automatic *bold* and _underline_".

Kind regards
Regina

Cor Nouws schrieb:

Thanks a lot!
Cor

Ah..
And documentation + string in UI missing. But that will come sooner or
later.

Thanks,