{"issue":{"title":"HTML processing for ascii \"images\"","user":{"login":"bokertov","id":1281824,"url":"https://api.github.com/users/bokertov","avatar_url":"https://secure.gravatar.com/avatar/3b942b640844461d9b3d8a58df992121?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3b942b640844461d9b3d8a58df992121"},"created_at":"2011-12-25T18:27:48Z","milestone":null,"labels":[],"state":"closed","updated_at":"2011-12-27T07:47:11Z","id":2655609,"closed_at":"2011-12-27T07:47:11Z","html_url":"https://github.com/seri/gettc/issues/3","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"There are quite a few topcoder problem descriptions that contain ascii \"images\", that is, 2D images made of purely ascii symbols. Some examples are \"ChessCover\" (ID 202), \"Checkers\" (ID 204) etc. For these cases, those ascii images are screwed in the HTML files converted by gettc. \r\n\r\nI guess using ascii symbols to display 2D images in HTML files is awkward anyway. So never mind if it's not easy to handle such cases. Thanks!","number":3,"url":"https://api.github.com/repos/seri/gettc/issues/3","comments":1,"assignee":null},"comment":{"user":{"login":"bokertov","id":1281824,"url":"https://api.github.com/users/bokertov","avatar_url":"https://secure.gravatar.com/avatar/3b942b640844461d9b3d8a58df992121?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3b942b640844461d9b3d8a58df992121"},"created_at":"2011-12-27T07:47:11Z","updated_at":"2011-12-27T07:47:11Z","id":3279775,"body":"I found that what topcoder did was to quote the whole problem description using HTML tag \"<pre>\" (verbatim). So it is very difficult for a script to tell wether the HTML includes a 2D ASCII image or not. On the other hand, if gettc does the same, the resulting HTML won't be portable to  fit on small screens on smartphones or 6\" ereaders. Therefore this issue is really a design issue (or feature?) of topcoder, and we can't do much about it. Fortunately, problems with 2D ASCII images are only a small fraction of topcoder archive, and we can always go back to the original topcoder website to read the correctly displayed version. Thanks!","url":"https://api.github.com/repos/seri/gettc/issues/comments/3279775"},"action":"created"}