Skip to content
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

Merged
merged 6 commits into from
Aug 16, 2024

Conversation

moufort
Copy link
Collaborator

@moufort moufort commented Aug 14, 2024

Issue #845
I add valid label and a default label. If the label is not a valid label, then we use the default label

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
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Collaborator Author

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 }
Copy link
Contributor

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

@Ducasse
Copy link
Contributor

Ducasse commented Aug 16, 2024

Thanks for the explanation.

@Ducasse Ducasse merged commit ab4caf2 into pillar-markup:dev Aug 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants