Jump to content

eevan79

Members
  • Posts

    240
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://dota.iz.rs

Profile Information

  • Gender
    Male
  • Location
    Belgrade, Serbia

eevan79's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. I already tried with DOM but without success. Maybe I need to look deeper... Also I found an interesting jQuery plugin, and maybe it can be usefull: http://benalman.com/code/projects/jquery-replacetext/examples/replacetext/ It replace all text but leave all tags and attributes untouched.
  2. I want to replace latin text to cirilic text. It's not so hard, but there is problem with HTML. It's also replaced. Example: $before = array("a","b","c","d"); //etc. $after = array("а","б","ц","д"); //etc. //final output *original: some text <a href="link"><img src="image" alt /></a> //final output *after: соме техт <а хреф="линк"><имг срц="имаге" алт /></а> How to replace all text but ignore HTML (not remove) ?
  3. @PFMaBiSmAd, finally solved. I activated Show All Characters and it shows CR *without LF, so I converted it Win format. Thanks.
  4. It is very strange because it never has happened. Perhaps with the new version of the program. I use Notepad++ and was looking at all options regarding text wrapping and margin boundary but any change has no effect. Still do not understand why file is saved differently - when I view page source it's all wrapped and I want to be same as I wrote. Has to do with settings options of code editor?
  5. I'm not sure that this issue belongs to this forum because of problems that do not understand. I do not know why this happens. When I look at the page source code is wrapped without spaces. It look like this: And here is source code: I know that this is not a big problem, but can be irritating, especially when looking at the page source for debugging and so on. This did not happen earlier. Does anyone know why this happens?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.