~psic4t/qcal

25fece6e89e37881e36f386c5436ebda68172e34 — psic4t 3 months ago 58bf171
fix description newlines
1 files changed, 2 insertions(+), 1 deletions(-)

M parse.go
M parse.go => parse.go +2 -1
@@ 153,7 153,8 @@ func parseEventDescription(eventData *string) string {

	resultA := re.FindAllString(*eventData, -1)
	result := strings.Join(resultA, ", ")
	//result = strings.Replace(result, "\n", "", -1)
	result = strings.Replace(result, "\n", "", -1)

	result = strings.Replace(result, "\\N", "\n", -1)
	//better := strings.Replace(re.FindString(result), "\n ", "", -1)
	//better = strings.Replace(better, "\\n", " ", -1)