adamwalach / go-openvpn

Set of Golang libraries for OpenVPN
MIT License
18 stars 23 forks source link

Escape special chars on template. #2

Open mendoza-conicet opened 6 years ago

mendoza-conicet commented 6 years ago

when add text from certs and keys at use html/template escape special chars, i replaced by text/template for complete the PR on https://github.com/adamwalach/openvpn-web-ui/pull/18/commits/eb903195d0aeb683fd047b5d87f4700291193e2c

may be need update this. https://github.com/adamwalach/go-openvpn/blob/37de024281f78af7508b0b824feb33233ce3862f/client/config/config.go#L5