By Matt on Saturday, 13 June 2020
Posted in General Issues
Likes 0
Views 1.9K
Votes 0
I run a linguistics-based website, and users often need to use angle brackets, which are a standard notation in orthography. But the Komento editor strips out angle brackets, and sometimes strips out the text between them as well. Is there a way to use angle brackets in text, or to switch to another editor?

Thanks.
Hello Matt,

Angle brackets are used to parse bbcode and chances are that you may have used a code that represents a markup in bbcode. May I know which code did you or your user entered?
·
Saturday, 13 June 2020 10:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much for the quick reply.

This happens with pretty much any text string. Here are some examples. The sentences below on your site seem to work fine, but below each one I've posted what it looks like on my site.

the most common ones in my experience being <expire> and <expect>
the most common ones in my experience being and .

We don't have either <exstant> or <exstinct> in English, but <exstant> has been attested in the past.
We don't have either or in English, but has been attested in the past.

most of the <ex> words that are followed by <s> had
most of the words that are followed by had

Thanks,

Matt
·
Saturday, 13 June 2020 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Matt,

Thanks for getting back to me on this! Ah, my impression of brackes was the characters [ and ] . I did not thought it was the html tags that you were referring to. By the way, I tested those and it seems to work fine on Komento too, https://take.ms/APDt5

Perhaps some of the tags that you tried to use was html tags?
·
Saturday, 13 June 2020 21:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Just for more info, I'm the super-admin, and I have the global config set to No Filtering for super-admins.
·
Saturday, 13 June 2020 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
As you can see in the examples I posted, they are not html tags. And, as I said, they seem to work fine on your site, but not on mine. So, I'm assuming there is some setting in Komento that I have missed that allows angle brackets. Could you tell me what that is?

Thanks,

Matt
·
Saturday, 13 June 2020 22:24
·
0 Likes
·
0 Votes
·
0 Comments
·
To be honest, I can't tell what is wrong just by your descriptions because if it works on my local, it should work on your site. If it doesn't, chances are that there are some conflicts or some plugins trying to strip these tags out.

The only way for me to try and check this is to get access to your site to troubleshoot this issue.
·
Sunday, 14 June 2020 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, thanks. I've added the login info.

Matt
·
Sunday, 14 June 2020 19:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Matt,

It seems the credential given is not working https://take.ms/1BzXf
By the way, it is possible to provide us with the comment(page URL) that having the issue and FTP access as well in case we need to further check on this issue?

You can add the information needed by edit your first post in the Details section or you can just include your site's access once at http://stackideas.com/dashboard/site rather than needing to keep adding them in your replies
·
Monday, 15 June 2020 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry about that -- my fault, I forgot to publish the user. It should work now. FTP info added.

Example page -- https://www.realspellers.org/forums/orthography/1417-exspire

Note that the angle brackets work fine in the article, just not in the comments. See the 2nd comment for lots of examples.

Thanks, Matt
·
Monday, 15 June 2020 18:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Matt,

Thanks for the access given, I am able to access your site now, and I have tried to replicate this issue in your site, it seems I am unable to reproduce the issue (refer this video: https://take.ms/GY9hN )
Am I missing any steps by any chance?
·
Monday, 15 June 2020 19:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Well, that's interesting. So, it worked when you entered it but, as you can see, in the post immediately above the one you entered, everything between angle brackets is missing. For example, the 3rd line of the post says:

There are indeed many other places where this comes up, the most common ones in my experience being and . The Romans spelled these words both ways.


but when I click on edit, I can see that it says:

There are indeed many other places where this comes up, the most common ones in my experience being <expire> and <expect>. The Romans spelled these words both ways.


A few lines below that it says:

We don't have either or in English, but has been attested in the past.


but in edit view it says:


We don't have either <exstant> or <exstinct> in English, but <exstant> has been attested in the past.


and that continues through the rest of the article.

Do you have any thoughts about what might cause it to be different when you enter it and when I do? I've tried it in both Safari and Firefox -- could it be browser-based? Are you using Chrome, and could that make a difference?

Thanks,

Matt
·
Monday, 15 June 2020 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Matt,

Ah I see, I am able to replicate the issue now, locally and in your site, seems like there is a bug regarding this.
Where it occurs when you edit reply/comment.
I have fixed in the file:
.../components/com_komento/views/comments/view.ajax.php
Can you give it another try, by edit reply/comment and input the text that consist angle bracket and see how it goes?
·
Tuesday, 16 June 2020 11:01
·
0 Likes
·
0 Votes
·
0 Comments
·
That was it! Thanks so much.

Matt

PS: On a related topic, I noticed when fixing the comment we were using as an example here, that on your site hitting cmd-b adds the boldface code, but on my site it only works if you scroll up each time and use the B button. Is that a setting somewhere? M.
·
Tuesday, 16 June 2020 21:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Matt,

PS: On a related topic, I noticed when fixing the comment we were using as an example here, that on your site hitting cmd-b adds the boldface code, but on my site it only works if you scroll up each time and use the B button. Is that a setting somewhere? M.

Seems there is bug regarding this. I have logged this into our issue tracker and our developer will take an action for this

Thanks for your cooperation and understanding Matt
·
Wednesday, 17 June 2020 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I think these fixes were somehow wiped out. I'm using Komento v. 3.1.4., but once again everything between angle brackets is being wiped out, and cmd-b no longer works.
·
Thursday, 18 March 2021 05:43
·
0 Likes
·
0 Votes
·
0 Comments
·
I have applied the same fix to this file again on your site JoomlaFolder/components/com_komento/views/comments/view.ajax.php , can you check again?
·
Thursday, 18 March 2021 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that seems to have fixed it, thanks.

The question now is why the fixes disappeared.

  • Do they get wiped out at each update?
  • Is there a reason this is happening on my site and not others'?
  • Can you tell me what the fix is so that, if it happens again, I can fix it myself and not bother you?
  • Will this be built in to the next version?

Thanks for your quick response.

Matt
·
Thursday, 18 March 2021 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
We haven't release the next version yet so the current latest version will still encounter this issue.

You can backup this file JoomlaFolder/components/com_komento/views/comments/view.ajax.php just in case if you reinstall Komento or install into other domain site, you can replace back this file.
·
Thursday, 18 March 2021 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, I've downloaded the file. Thanks for the suggestion.

Matt
·
Thursday, 18 March 2021 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 18 March 2021 19:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post