Compiling the attached document like this:
$ asciidoc -b html test.adoc
produces test.html where the image is broken (source image is fine, it was 
encoded using GIMP)

Converting the image manually:
$ base64 -b 76 -i good.test.png -o good.test.png.base64
produces slightly different encoding.

Let's compare:
$ xml sel -t -v '//_:img/@src' test.html | perl -pe 's/ /\n/g' | grep -v 
data: > bad.test.png.base64
$ diff bad.test.png.base64 good.test.png.base64 

406c406

< 

---

> 
//z40NVhz99qH3vx9mK/d3jqmdUPDRjjCbFdd2uGjYdFRA5v1O7eddh88+5dqbAjs5i5nLHkxo3G

779a780

> 


Hence, it seems one line hast been "lost".


-----

My setup:

OSX 10.10.5

asciidoc 8.6.9 (brew install)

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Attachment: test.adoc
Description: Binary data


<<< text/html; charset=US-ASCII; name=test.html: Unrecognized >>>

Reply via email to