When we have a program like:
@startuml
ditaa
art
@enduml
plantuml )PlantUML version 1.2021.9beta3) will give an error. At first glance the program looks OK but therer is just one small catch: there is a space behind the word ditaa.
see http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKh9B4bCLE02yhWSKlDIW480
I think that it would be user friendlier when the spaces (certainly in this case) would be stripped.
I think a similar problem might occur with other diagram types.