http://qs1969.pair.com?node_id=1176847


in reply to twig_print_outside_roots replaces " with &quote; and ' with '

That is actually totally correct and expected. That HTML file must not have contained raw single or double quote characters. These were represented in their HTML entity form ' and ".

Only when shown in your browser are these entities replaced on the screen by the usual ' and ".

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics