Issue 4542: Quotes Issue With JavaScript Function Calls Inside Inline Event Handlers
Steps to reproduce
- Open Firebug
- Switch to the HTML panel
- Inspect the Say hi button above
- Click the value of the
onclick
attribute to start inline editing
- Move the text cursor between the opening bracket and
output
of getElementById(output')
-
Enter a single quote (
'
)
⇒ The single quote is entered into the input field
- Move the text cursor before the
H
of Hi
-
Enter a double quote (")
⇒ The double quote is entered into the input field
- Click the Say hi button above
Expected Result
Hi there, tester!
shown below the button