Fix issue #654 - Truncated gimini links
This commit is contained in:
parent
9cefa6ab41
commit
221bf45f27
|
@ -263,7 +263,7 @@ public class SpannableHelper {
|
|||
//Truncate URL if needed
|
||||
//TODO: add an option to disable truncated URLs
|
||||
String urlText = newURL;
|
||||
if (newURL.length() > 30 && !urlDetails.containsKey(urlText)) {
|
||||
if (newURL.length() > 30 && !urlDetails.containsKey(urlText) && !urlText.startsWith("gemini")) {
|
||||
urlText = urlText.substring(0, 30);
|
||||
urlText += "…";
|
||||
content.replace(matchStart, matchEnd, urlText);
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
Added:
|
||||
- Post random quotes
|
||||
|
||||
Fixed:
|
||||
- Behavior with cw toggle
|
||||
- Truncated gimini links
|
Loading…
Reference in New Issue