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

Fixed formatting for nested markup extensions #33

Closed
wants to merge 3 commits into from

Conversation

MichaeIDietrich
Copy link

  • MarkupExtensionFormatter is now invoked recursively if attributes
    contain nested markup extensions
  • elements with only one attribute should now respect markup
    extension formatting

- MarkupExtensionFormatter is now invoked recursively if attributes
contain nested markup extensions
- elements with only one attribute are now correctly respect markup
extension formatting
@@ -80,7 +87,7 @@ private IEnumerable<string> Format(Value value)

if (type == typeof(MarkupExtension))
{
return this.Format((MarkupExtension)value);
return this.markupExtensionFormatter.Format((MarkupExtension)value);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recursively call markup extension formatting

@grochocki
Copy link
Contributor

Thank you for your contribution! Unfortunately, there are 16 failing unit tests with this PR. Please take a look at the failing tests, make any appropriate changes, and update the PR when all tests are passing.

@grochocki
Copy link
Contributor

Fix implemented in #72

@grochocki grochocki closed this Dec 13, 2016
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.

None yet

2 participants