Avoid adding \ when paste into graph text object


Version: 2022b

Type: Bug Fixes

Category: Graphing

Subcategory:

Jira: ORG-24924


When pasting some string in graph, it failed to be recoganized as escape notation. It’s because we add an extra \ to protect it.

In 2022b, Origin checks if the string begins with
\img, etc, things that are really already escape notation so no extra \ is added. When pasting path, \v() will be added around the path to protect it instead.