-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 845 more annotated paragraph #857
Issue 845 more annotated paragraph #857
Conversation
self assert: result trimBoth equals: '<h1>This is a title</h1>', newLine , | ||
'<section id="LabelOfAnnotatedBlock"><label for="LabelOfAnnotatedBlock">Body of annotated block</label></section>', newLine , | ||
'<p>this is another string</p>'. | ||
self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me it looks strange to create a heading 1 for a note.
Why did you suggest this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And we can let it for now and see later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test with h1 already exist when I have adding the verifiedLabels. I only correct the test for let him pass green
MicAnnotatedParagraph >> initialize [ | ||
|
||
super initialize. | ||
validLabel := { #note . #important . #todo } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use plurals eg validLabels
Tx
Thanks for the explanation. |
Issue #845
I add valid label and a default label. If the label is not a valid label, then we use the default label