decodeAttr() — vue Function Reference
Architecture documentation for the decodeAttr() function in html-parser.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 4048d592_0fb5_abab_2d9e_07ea4e2b2ec6["decodeAttr()"] 3c4fa7b0_c9a8_3b62_4edb_edb8676e969a["html-parser.ts"] 4048d592_0fb5_abab_2d9e_07ea4e2b2ec6 -->|defined in| 3c4fa7b0_c9a8_3b62_4edb_edb8676e969a eb4d93e9_e98e_e100_79fc_397c66cc84c1["parseHTML()"] eb4d93e9_e98e_e100_79fc_397c66cc84c1 -->|calls| 4048d592_0fb5_abab_2d9e_07ea4e2b2ec6 style 4048d592_0fb5_abab_2d9e_07ea4e2b2ec6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/html-parser.ts lines 53–56
function decodeAttr(value, shouldDecodeNewlines) {
const re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr
return value.replace(re, match => decodingMap[match])
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does decodeAttr() do?
decodeAttr() is a function in the vue codebase, defined in src/compiler/parser/html-parser.ts.
Where is decodeAttr() defined?
decodeAttr() is defined in src/compiler/parser/html-parser.ts at line 53.
What calls decodeAttr()?
decodeAttr() is called by 1 function(s): parseHTML.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free