dumbledore / AlbiteREADER

A feature-rich e-book reader for the Java Mobile platform. Currently works with txt, xhtml and epub files. Supported features include touch scrolling, images, styling and multilingual hyphenation, on-touch dictionaries, units converter, table of contents. Uses the Droid Serif font through it's own font implementation scheme.
http://albite.org/reader_j2me
72 stars 21 forks source link

Doesn't find images with relative path #174

Closed dumbledore closed 14 years ago

dumbledore commented 14 years ago

E.g. we are reading feed_0/article_0/index.html, and there is an image pointing to images/img1.jpg, which should be interpreted feed_0/article_0/images/img1.jpg.

Therefore I need to add relative path support, i.e. if src doesn't start with /.

dumbledore commented 14 years ago

Fixed the main issue. However, I can't really bother with support for ../../ or ././

dumbledore commented 14 years ago

I bothered. Works with any relative paths now.