decodeAttr() — vue Function Reference
Architecture documentation for the decodeAttr() function in html-parser.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 283395ca_6426_1451_6c69_40d960833781["decodeAttr()"] 3e4fe868_3184_a713_88c2_eb0e9a4c1aec["html-parser.ts"] 283395ca_6426_1451_6c69_40d960833781 -->|defined in| 3e4fe868_3184_a713_88c2_eb0e9a4c1aec 62dcc405_082c_cdd0_ae44_f0d60c4be8d0["parseHTML()"] 62dcc405_082c_cdd0_ae44_f0d60c4be8d0 -->|calls| 283395ca_6426_1451_6c69_40d960833781 style 283395ca_6426_1451_6c69_40d960833781 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