Okay so this is what happens:
->The task body is completely empty
New tag is added with no commas or new lines following it
-> The task body contains only tag(s)
New tag is added followed by a comma, at the start of the first line
-> The first and second line of body have tag(s)
New tag is added followed by comma, at the start of the first line
->The first line has a tag but the next line does not
New tag is added in the first line followed by 2 new line characters
-> The first line starts with anything but a tag(including empty line)
New tag is added followed by 2 new line characters.
All of these are sure to happen there is one strange behavior as well:
Once there has been a case of adding a new tag with 2 new lines, from the next time it always does the same thing no matter which of the above cases it has
Okay so this is what happens:
->The task body is completely empty
New tag is added with no commas or new lines following it
-> The task body contains only tag(s)
New tag is added followed by a comma, at the start of the first line
-> The first and second line of body have tag(s)
New tag is added followed by comma, at the start of the first line
->The first line has a tag but the next line does not
New tag is added in the first line followed by 2 new line characters
-> The first line starts with anything but a tag(including empty line)
New tag is added followed by 2 new line characters.
All of these are sure to happen there is one strange behavior as well:
Once there has been a case of adding a new tag with 2 new lines, from the next time it always does the same thing no matter which of the above cases it has