Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ac14ed74ccad06ce43319f31eba45588854b08fe
https://github.com/openSUSE/open-build-service/commit/ac14ed74ccad06ce43319f...
Author: Björn Geuken
Date: 2018-06-19 (Tue, 19 Jun 2018)
Changed paths:
M src/api/lib/obsapi/markdown_renderer.rb
A src/api/spec/helpers/comment_helper_spec.rb
Log Message:
-----------
[frontend] Fix rendering invalid markdown links
Since commit c466c65d67cfd01e877aca224dd6aa3dd5fea06c we overwrite
the redcarpet renderer for links and add the OBS domain to relative
links.
The code that would craft these URIs wasn't expecting invalid links
and would fail with an URI::InvalidURIError exception.
This commit catches such exceptions and renders the invalid markdown
in the same format Redcarpet would do.
Commit: 1e74b4e11b8d3b7d173c9db10be2cc903a9b244c
https://github.com/openSUSE/open-build-service/commit/1e74b4e11b8d3b7d173c9d...
Author: David Kang
Date: 2018-06-19 (Tue, 19 Jun 2018)
Changed paths:
M src/api/lib/obsapi/markdown_renderer.rb
A src/api/spec/helpers/comment_helper_spec.rb
Log Message:
-----------
Merge pull request #5160 from bgeuken/fix_markdown_rendering
[frontend] Fix rendering invalid markdown links
Compare: https://github.com/openSUSE/open-build-service/compare/d8da9e5812ab...1e74b4...
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.