Skip to content

Tokens inserted into HTML editor are lost if they contain } #4195

Closed
@ek68794998

Description

@ek68794998

Describe the Bug with repro steps

  1. In any workflow, add SharePoint's "Create new folder" action.
  2. Fill in the required action parameters.
  3. Add an action after it which has an HTML editor.
  4. In the HTML editor, insert the token "Link to item" from the "Create new folder" action.
  5. Close the panel (or switch tabs) and return to the view.

Expected: Token should be inserted and remain in the field.

Actual: Token is replaced with ']}.

Does not repro with non-HTML editors.

What type of Logic App Is this happening in?

Standard (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

html-bracket-deleted

Browser

Chrome 121.0.6167.185, Windows 11 x64.

Additional context

This likely occurs because of how pasted tokens are parsed, and the existence of } in the token is telling the editor that it's the end of the token.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions