johnsmith98
asked on
Dreamweaver: Brackets in HTML Reverting to Code for Special Characters
I need to put the characters {BTAG} exactly like that into the code in my HTML. I am not concerned about how that looks when viewed in a browser. But sometimes Dreamweaver converts that to %7BBTAG%7D. I'm haven't been able to find exactly what triggers Dreamweaver to make that change. Maybe it has to do with switching between Code view and Design view.
How can I stop Dreamweaver from making that change.
I would also settle for a macro or action or extension that I can invoke with one or two keystrokes that converts all the instances of %7BBTAG%7D to {BTAG}
Please help me solve this problem.
How can I stop Dreamweaver from making that change.
I would also settle for a macro or action or extension that I can invoke with one or two keystrokes that converts all the instances of %7BBTAG%7D to {BTAG}
Please help me solve this problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dear johnsmith98-
Try this:
1. go into code view.
2. type {BTAG}, but do it in CODE VIEW, not in design view.
3. Now when you go to design view, DO NOT change it. Any time you need to type a special character literally, don't do it in design view, because design view will translate special characters.
4. If you are still having the problem, check your settings. There should be an option there for changing special characters. I don't have DWMX on this computer right now, so I can't remember exactly. But if you are still having trouble, please post.
Try this:
1. go into code view.
2. type {BTAG}, but do it in CODE VIEW, not in design view.
3. Now when you go to design view, DO NOT change it. Any time you need to type a special character literally, don't do it in design view, because design view will translate special characters.
4. If you are still having the problem, check your settings. There should be an option there for changing special characters. I don't have DWMX on this computer right now, so I can't remember exactly. But if you are still having trouble, please post.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: webwoman {http:#8238901}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
zenlion420
EE Page Editor
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: webwoman {http:#8238901}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
zenlion420
EE Page Editor
ASKER
Maybe not doing that that will help me avoid this problem. Do you have any better/other solutions.