transformSpecialNewlines() — vue Function Reference
Architecture documentation for the transformSpecialNewlines() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 55a5def2_0aa8_b39b_8af6_e1624809e5dc["transformSpecialNewlines()"] b3e7f806_a4c0_a394_b974_c564ba26cf95["genText()"] b3e7f806_a4c0_a394_b974_c564ba26cf95 -->|calls| 55a5def2_0aa8_b39b_8af6_e1624809e5dc 8d77643c_f644_5b38_7cc9_470546920393["genProps()"] 8d77643c_f644_5b38_7cc9_470546920393 -->|calls| 55a5def2_0aa8_b39b_8af6_e1624809e5dc style 55a5def2_0aa8_b39b_8af6_e1624809e5dc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/codegen/index.ts lines 666–668
function transformSpecialNewlines(text: string): string {
return text.replace(/\u2028/g, '\\u2028').replace(/\u2029/g, '\\u2029')
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does transformSpecialNewlines() do?
transformSpecialNewlines() is a function in the vue codebase.
What calls transformSpecialNewlines()?
transformSpecialNewlines() is called by 2 function(s): genProps, genText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free