From 3130fb43a74e5a1131d00a5e9ea6eacee18b2276 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 14 Jul 2013 17:10:50 +0900 Subject: [PATCH] command/fix: properly replace the escaped --- command/fix/command.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/command/fix/command.go b/command/fix/command.go index cfb34f626..2596742a2 100644 --- a/command/fix/command.go +++ b/command/fix/command.go @@ -73,7 +73,10 @@ func (c Command) Run(env packer.Environment, args []string) int { return 1 } - env.Ui().Say(indented.String()) + result := indented.String() + result = strings.Replace(result, `\u003c`, "<", -1) + result = strings.Replace(result, `\u003e`, ">", -1) + env.Ui().Say(result) return 0 }