So, if you had an article named "Margin" and in your article named "Bar" you had:
Code: Select all
"...Make sure your Word Document's margin is within printable range..."Code: Select all
"...Make sure your Word Document's <a href="showarticle.php?title=margin">margin</a> is within printable range..."Code: Select all
"<div style="margin: 0px; ">Hello World!</div>"Code: Select all
"<div style="<a href="showarticle.php?title=margin">margin</a>: 0px; ">Hello World!</div>"Next, I thought it would be best to explode the document by the "<" character, and then use a sub string for each array, so that it would only replace the needles after the ">" character. It would be a kind of "sloppy" code, but might do the trick. That returned a fatal memory error.
I've tried other methods, but they either made the loadtime too long, or simply didn't work.
Is there some kind of easy way to make this thing work the way I want it?