[tor-bugs] #14880 [Website]: Remove 1px border from img inside table

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 12 18:47:20 UTC 2015


#14880: Remove 1px border from img inside table
-------------------------+-----------------------
     Reporter:  dcf      |      Owner:  Sebastian
         Type:  defect   |     Status:  new
     Priority:  minor    |  Milestone:
    Component:  Website  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-----------------------

Comment (by dcf):

 Here is how the borders look on download-unix.html:
 [[Image(borders.png)]]
 This is the script I used to search for img nested in table:
 {{{
 #!/usr/bin/env python
 import getopt
 import sys
 from bs4 import BeautifulSoup
 opts, args = getopt.gnu_getopt(sys.argv[1:], "")
 for filename in args:
     with open(filename) as f:
         soup = BeautifulSoup(f)
         for table in soup.find_all("table"):
             for img in table.find_all("img"):
                 print filename, img
 }}}
 I ran it like this:
 {{{
 find . -name '*.html.en' | xargs ./search.py
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14880#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list