Skip to content

Delete "Expand" button text #124

@oldenbourglaura

Description

@oldenbourglaura

Description

In some of the files, the word ‘Expand’ appears in the text flow, from a former fold-out button. We would like to delete this word in the following cases:

Method

Regex

Observed in Wiki

  1. The word "Expand" (always uppercase) followed by a space and the words "Links to longer report". Possible regex to detect: \bExpand\b\s+Links to longer report
  2. The word "Expand "(always uppercase) followed by a space and then a linked figure, like "[[#figure-spm-2|Figure SPM.2]]". Possible regex to detect: \bExpand\b \[\[

Expected in Wikitext

  1. Get rid of "Expand", just keep "Links to longer report"
  2. Get rid of "Expand", just the following link

Example file

Additional information

(This problem only occurs in one or two Gatsby files, but the fix should't affect the Wordpress files.)

Metadata

Metadata

Assignees

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions