transformSpecialNewlines() — vue Function Reference
Architecture documentation for the transformSpecialNewlines() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 9c12f1ea_b9e3_b0db_0012_fc867b4ebf43["transformSpecialNewlines()"] 54260741_ae9d_a025_86de_47c513f5f82d["index.ts"] 9c12f1ea_b9e3_b0db_0012_fc867b4ebf43 -->|defined in| 54260741_ae9d_a025_86de_47c513f5f82d 76a6101d_852d_2550_5979_e1f59715bef1["genText()"] 76a6101d_852d_2550_5979_e1f59715bef1 -->|calls| 9c12f1ea_b9e3_b0db_0012_fc867b4ebf43 11c959b5_53f2_f6ca_bb39_c51ca6580caf["genProps()"] 11c959b5_53f2_f6ca_bb39_c51ca6580caf -->|calls| 9c12f1ea_b9e3_b0db_0012_fc867b4ebf43 style 9c12f1ea_b9e3_b0db_0012_fc867b4ebf43 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
Defined In
Called By
Source
Frequently Asked Questions
What does transformSpecialNewlines() do?
transformSpecialNewlines() is a function in the vue codebase, defined in src/compiler/codegen/index.ts.
Where is transformSpecialNewlines() defined?
transformSpecialNewlines() is defined in src/compiler/codegen/index.ts at line 666.
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