Guest User

Untitled

a guest
Mar 10th, 2010
225
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** flatxml2html.py 2010-03-10 18:35:45.188000000 +1100
  2. --- flatxml2html.original.py    2010-03-02 12:40:04.000000000 +1100
  3. ***************
  4. *** 468,478 ****
  5.                           if linktype == 'external' :
  6.                               linkhref = self.link_href[link-1]
  7.                               linkhtml = '<a href="%s">' % linkhref
  8. !                         if len(self.link_page) >= link :
  9.                               ptarget = self.link_page[link-1] - 1
  10.                               linkhtml = '<a href="#page%04d">' % ptarget
  11. -                         else :
  12. -                             linkhtml = '<a href=""><!-- page not found -->'
  13.                           linkhtml += title + '</a>'
  14.                           pos = parares.rfind(title)
  15.                           if pos >= 0:
  16. --- 468,476 ----
  17.                           if linktype == 'external' :
  18.                               linkhref = self.link_href[link-1]
  19.                               linkhtml = '<a href="%s">' % linkhref
  20. !                         else :
  21.                               ptarget = self.link_page[link-1] - 1
  22.                               linkhtml = '<a href="#page%04d">' % ptarget
  23.                           linkhtml += title + '</a>'
  24.                           pos = parares.rfind(title)
  25.                           if pos >= 0:
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×