Skip to content

Commit

Permalink
Corrected state diagram handling of star
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppefrandsen committed Apr 20, 2018
1 parent 411ad31 commit 07e1e52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gravizool.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import (
"strings"
)

const gravizoolVersion = "1.0.2"
const gravizoolVersion = "1.0.3"

const gravizoBegin string = "g.gravizo.com/svg?"
const gravizoEnd string = "enduml"

var gravizoEncode = strings.NewReplacer(";", "%3B", " ", "%20", "\n", "%0A", "@", "%40",
"(", "%28", ")", "%29", "*", "%2A", "\\", "%5C", "<", "%3C", ">", "%3E")
"(", "%28", ")", "%29", "*", "%2A", "\\", "%5C", "<", "%3C", ">", "%3E", "\"", "%22")
var gravizoDecode = strings.NewReplacer("%3B", ";", "%20", " ", "%0A", "\n", "%40", "@",
"%2A", "*", "%5C", "\\")
var gravizoFixEncode = strings.NewReplacer("\n", ";\n", "*", "\\*", "(", "%28", ")", "%29", "<", "%3C", ">", "%3E")
var gravizoFixDecode = strings.NewReplacer(";", "", "\\*", "*")
var gravizoFixEncode = strings.NewReplacer("\n", ";\n", "(", "%28", ")", "%29", "<", "%3C", ">", "%3E")
var gravizoFixDecode = strings.NewReplacer(";", "")

func check(err error) {
if err != nil {
Expand Down

0 comments on commit 07e1e52

Please # to comment.