diff --git a/lib/src/Data/ItemPath.cpp b/lib/src/Data/ItemPath.cpp index ce57301..7eeea01 100644 --- a/lib/src/Data/ItemPath.cpp +++ b/lib/src/Data/ItemPath.cpp @@ -24,6 +24,12 @@ ItemPath::ItemPath(const std::string& path) while (pathss) { std::string component; + if (pathss.peek() == '\"') { + getline(pathss, component, '\"'); + getline(pathss, component, '\"'); + component = '\"' + component + '\"'; + m_components.push_back(std::move(component)); + } getline(pathss, component, '/'); if (component.length() > 0) { m_components.push_back(std::move(component));