Skip to content

Commit

Permalink
Merge pull request #235 from mikepenz/feature/adjust_helper_visibility
Browse files Browse the repository at this point in the history
Adjust visibility of some helper methods
  • Loading branch information
mikepenz authored Nov 15, 2024
2 parents a6c52dd + ab52e1b commit d4890c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal fun AnnotatedString.Builder.appendMarkdownLink(content: String, node: A
}

@Composable
internal fun AnnotatedString.Builder.appendAutoLink(content: String, node: ASTNode) {
fun AnnotatedString.Builder.appendAutoLink(content: String, node: ASTNode) {
val targetNode = node.children.firstOrNull {
it.type.name == MarkdownElementTypes.AUTOLINK.name
} ?: node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal fun ASTNode.findChildOfTypeRecursive(type: IElementType): ASTNode? {
*/
internal fun List<ASTNode>.innerList(): List<ASTNode> = this.subList(1, this.size - 1)

internal fun ASTNode.getUnescapedTextInNode(allFileText: CharSequence): String {
fun ASTNode.getUnescapedTextInNode(allFileText: CharSequence): String {
val escapedText = getTextInNode(allFileText).toString()
return EntityConverter.replaceEntities(escapedText,
processEntities = false,
Expand Down

0 comments on commit d4890c4

Please sign in to comment.