Help
Weird code appears at top of page or content
Problem or Known Issue:
Once saved, a node displays odd characters and code near the top of the page. For example:
Normal
0
false
false
false
EN-US
X-NONE ...
Why it happens:
When an editor copies text from another page or application (such as Word or an email program), the underlying, non-visible code is also copied. If the user pastes into Drupal without using Paste as Plain Text, this code remains in the entry, but is not valid in the new context. The code breaks, and some may be visible to site visitors.
Solution:
- If you have just created a new page:
- Click Edit.
- Select all the text in the section with the problem (usually the Body field) and delete it.
- Reedit the page, using the Paste as Plain Text button when you copy from other sources.
- If you have just added new content to a preexisting page and you forgot to use Paste as Plain Text:
- Revert to the previous version of the page (click the Revisions tab to see and revert to previous version).
- Edit the page again, using Paste as Plain Text.
- If you have just added new content to a preexisting page, and you were not the one who forgot to use Paste as Plain Text — e.g. you only typed in changes, or copied text using the Paste as Plain Text button — contact [webguys] for help. We can clean up old errors faster than you can.
- Grinnell.edu Help
- Website Standards
- Resources & How-Tos
- Drupal Glossary
- Drupal Help Blog
- Troubleshooting
- "Not a Valid URL"
- "This post can't be referenced."
- "Title Mismatch"
- Can't change Section Assignment
- Can't edit faculty/staff list
- Can't edit something
- Can't log in
- Committee fields doubling
- Faculty/staff list broken
- Faculty/staff list in wrong order
- Forms missing grid enteries
- Forms won't display
- I can't find the node I want in an autocomplete field
- Image/File doesn't load/display properly
- Menu link goes to parent
- Missing Section Assignment
- Person doesn't show in view
- Weird code at top of page/content
- Who to Talk to
- Training
- Bug Reporter
- Feature Request
- Request Training or New Help Content





