Skip to content

Commit

Permalink
#253 Add support for PlantUML atxt and utxt
Browse files Browse the repository at this point in the history
  • Loading branch information
pepijnve committed Apr 13, 2020
1 parent b4abf05 commit 5c8d517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Enhancements::

Bug Fixes::

* Issue #253: Add support for PlantUML `atxt` and `utxt` output formats
* Issue #266: Resolve execution issue when the path for GnuPlot or Vega contains spaces
* Issue #267: Use binary mode when reading generated images from stdout
* Issue #273: Report Ditaa syntax errors correctly
Expand Down
2 changes: 1 addition & 1 deletion lib/asciidoctor-diagram/plantuml/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def convert(source, format, options)
when :txt, :utxt
mime_type = 'text/plain;charset=utf-8'
when :atxt
mime_type = 'text/plain;charset=us-ascii'
mime_type = 'text/plain'
else
raise "Unsupported format: #{format}"
end
Expand Down

0 comments on commit 5c8d517

Please sign in to comment.